Making calls to API

All of these methods are used to make calls to our API and to get the data. You can find more real examples from any of the reference pages to an endpoint.

get()

Get a collection of requested data.

find(int $id)

Get a single object.

update(int $id, array $data)

Update existing item.

create(array $data)

Create new item.

delete(int $id)

Delete item.

count()

Get a count of items.