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