Get methods

Definition

Get methods retieve data from the entity on which it was called. These are common to all entities.

MethodDescriptionUsageArgumentsResponse

all

Returns a list of all entities in the account.

Ubidots.<entity>.all();

None

get

Returns a list of the first 100 entities in the account.

Ubidots.<entity>.get();

None

first

Returns the first entity instance in the account.

Ubidots.<entity>.first();

None

paginate

Performs a paginated request to retrieve entities .

Ubidots.<entity>.paginate([page, [size]])

  • page: number Page number to retrieve

  • size: number Max number of results per page

Last updated