Examples#

The examples can be found in the examples directory. These are not meant to be feature complete API wrappers, but to demonstrate different use-cases.

List of examples#

Github v3 REST API#

This example illustrates:

  • REST API

  • loading JSON data

  • class-based query composition

  • nested queries

NS (dutch railways) API#

This example illustrates:

  • REST API

  • loading XML data

  • decorator composition

Slack web API#

This example illustrates:

  • RPC-style API

  • loading JSON data

  • decorator composition

  • customized authentication

  • queries accross different modules

  • pagination