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 .. toctree:: :maxdepth: 2 :titlesonly: :caption: RPC Categories RPCS ---- .. function:: Thingspeak.channelDetails(id: Number) Get various details about the channel, including location, fields, tags and name. **Arguments:** - ``id: Number`` (`Number `__) - channel ID **Returns:** ``Object`` (`Object `__) - Channel details. .. function:: Thingspeak.channelFeed(id: String, numResult: Number) Get channel feed. **Arguments:** - ``id: String`` (`String `__) - ``numResult: Number`` (`Number `__) .. function:: Thingspeak.privateChannelFeed(id: String, numResult: Number, apiKey: String) Request data from a private channel **Arguments:** - ``id: String`` (`String `__) - ID of the private channel feed - ``numResult: Number`` (`Number `__) - Number of results to fetch - ``apiKey: String`` (`String `__) - Thingspeak API key .. function:: Thingspeak.searchByLocation(latitude: Latitude, longitude: Longitude, distance: BoundedNumber<0>?, limit: Number?, updatedSince: Date?) Search for channels by location. **Arguments:** - ``latitude: Latitude`` (`Latitude `__) - latitude to search near - ``longitude: Longitude`` (`Longitude `__) - longitude to search near - ``distance: BoundedNumber<0>?`` (`BoundedNumber `__) - max distance from location in meters (default ``100000`` = 100Km) - ``limit: Number?`` (`Number `__) - max number of results to return (default ``15``) - ``updatedSince: Date?`` (`Date `__) - only include results which have (some) new data since this date (default no time-based filtering) **Returns:** ``List`` (`List `__ | `Object `__) - search results .. function:: Thingspeak.searchByTag(tag: String, limit: Number?, updatedSince: Date?) Search for ThingSpeak channels by tag. **Arguments:** - ``tag: String`` (`String `__) - tag to search for - ``limit: Number?`` (`Number `__) - max number of results to return (default ``15``) - ``updatedSince: Date?`` (`Date `__) - only include results which have (some) new data since this date (default no time-based filtering) **Returns:** ``List`` (`List `__ | `Object `__) - search results .. function:: Thingspeak.searchByTagAndLocation(tag: String, latitude: Latitude, longitude: Longitude, distance: BoundedNumber<0>?, limit: Number?, updatedSince: Date?) Search for channels by tag and location. **Arguments:** - ``tag: String`` (`String `__) - tag to search for - ``latitude: Latitude`` (`Latitude `__) - latitude to search near - ``longitude: Longitude`` (`Longitude `__) - longitude to search near - ``distance: BoundedNumber<0>?`` (`BoundedNumber `__) - max distance from location in meters (default ``100000`` = 100Km) - ``limit: Number?`` (`Number `__) - max number of results to return (default ``15``) - ``updatedSince: Date?`` (`Date `__) - only include results which have (some) new data since this date (default no time-based filtering) **Returns:** ``List`` (`List `__ | `Object `__) - search results