Authorized API client that is entitled to perform most of the API calls.
Unauthorized API provides two methods: withToken(token: String)
that returns Authorized API
and auth
, that returns a wrapper for OAuth related helpers
Contains all command and resource model classes
Authorized API client that is entitled to perform most of the API calls.
Methods are separated into two groups:
-
get
methods, for querying resources -perform
methods, for sending commandsAll the implicit parameters for those methods are usually supplied by the imported API suite, e.g.:
import ru.pavkin.todoist.api.dispatch.circe.default._
All methods return request definition containers, that are not yet executed. To execute a request definition, you have to call
execute
method on it.Request definitions can be chained together to compose a multiple entity request. Chaining is done with
and
method, e.g.: