Get methods
Last updated
Was this helpful?
Last updated
Was this helpful?
Get methods retieve data from the entity
on which it was called. These are common to all entities
.
all
Returns a list of all in the account.
Ubidots.<entity>.all();
None
get
Returns a list of the first 100 in the account.
Ubidots.<entity>.get();
None
first
Returns the first instance in the account.
Ubidots.<entity>.first();
None
paginate
Performs a paginated request to retrieve .
Ubidots.<entity>.paginate([page, [size]])
page: number
Page number to retrieve
size: number
Max number of results per page