Thingspeak

The ThingSpeak Service provides access to the ThingSpeak IoT analytics platform. For more information, check out https://thingspeak.com/.

Terms of use: https://thingspeak.com/pages/terms

RPCS

Thingspeak.channelDetails(id: Number)

Get various details about the channel, including location, fields, tags and name.

Arguments:

  • id: Number info - channel ID

Returns: Object info - Channel details.

Thingspeak.channelFeed(id: String, numResult: Number)

Get channel feed.

Arguments:

  • id: String info
  • numResult: Number info
Thingspeak.privateChannelFeed(id: String, numResult: Number, apiKey: String)

Request data from a private channel

Arguments:

  • id: String info - ID of the private channel feed
  • numResult: Number info - Number of results to fetch
  • apiKey: String info - Thingspeak API key
Thingspeak.searchByLocation(latitude: Latitude, longitude: Longitude, distance: BoundedNumber<0>?, limit: Number?)

Search for channels by location.

Arguments:

  • latitude: Latitude info
  • longitude: Longitude info
  • distance: BoundedNumber<0>? info
  • limit: Number? info
Thingspeak.searchByTag(tag: String, limit: Number?)

Search for ThingSpeak channels by tag.

Arguments:

Thingspeak.searchByTagAndLocation(tag: String, latitude: Latitude, longitude: Longitude, distance: BoundedNumber<0>?, limit: Number?)

Search for channels by tag and location.

Arguments:

  • tag: String info
  • latitude: Latitude info
  • longitude: Longitude info
  • distance: BoundedNumber<0>? info
  • limit: Number? info