Skip to content

Retrieving

DavidDuwaer edited this page Sep 1, 2017 · 13 revisions

Query building

Retrieving multiple objects

The most simple query is to retrieve all objects of a certain kind.

Artist.get()

Because this is not a database query but an API query, results of multiple objects are always paginated. Artist.get() retrieves the first page. Other pages are retrieved like this:

Artist.get(3)

...which retrieves the third page. The default page size of the underlying API can be overridden; how this is done is explained here.

Running a query

Filtering

Sorting

Limiting

The response object

Clone this wiki locally