Download toolbench/toolenv/tools/Storage/iot_data.json from Septzzz/gymcl-data: direct link, hf CLI and curl.
- Browser
- Download file 3.6 kB
-
https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Storage/iot_data.json
- Command line
-
hf download hf://datasets/Septzzz/gymcl-data/toolbench/toolenv/tools/Storage/iot_data.json
-
curl -L -o iot_data.json https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Storage/iot_data.json
3.6 kB
| { | |
| "tool_name": "IoT data", | |
| "tool_description": "Simply store and retrieve data in the cloud for IoT devices.", | |
| "title": "IoT data", | |
| "pricing": "FREEMIUM", | |
| "score": null, | |
| "home_url": "https://rapidapi.com/oeysteinhansen/api/iot-data/", | |
| "host": "iot-data.p.rapidapi.com", | |
| "api_list": [ | |
| { | |
| "name": "IoT Data - Set", | |
| "url": "https://iot-data.p.rapidapi.com/", | |
| "description": "Set IoT data from included body, with topic as key. Data needs to be formatted as JSON.", | |
| "method": "POST", | |
| "required_parameters": [ | |
| { | |
| "name": "topic", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "sensor/values" | |
| } | |
| ], | |
| "optional_parameters": [], | |
| "code": "import requests\n\nurl = \"https://iot-data.p.rapidapi.com/\"\nquerystring = {\"topic\": topic}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-data.p.rapidapi.com\"\n}\n\nresponse = requests.post(url, headers=headers, params=querystring)\n\nprint(response.json())\n", | |
| "statuscode": 111, | |
| "body": "", | |
| "headers": "", | |
| "schema": "" | |
| }, | |
| { | |
| "name": "IoT Data - Get", | |
| "url": "https://iot-data.p.rapidapi.com/", | |
| "description": "Retrieve data previously stored as JSON, with topic as key.", | |
| "method": "GET", | |
| "required_parameters": [ | |
| { | |
| "name": "topic", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "sensor/values" | |
| } | |
| ], | |
| "optional_parameters": [], | |
| "code": "import requests\n\nurl = \"https://iot-data.p.rapidapi.com/\"\nquerystring = {\"topic\": topic}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-data.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n", | |
| "statuscode": 111, | |
| "body": "", | |
| "headers": "", | |
| "schema": "" | |
| }, | |
| { | |
| "name": "IoT Data - Set", | |
| "url": "https://iot-data.p.rapidapi.com/", | |
| "description": "Set IoT data from included body, with topic as key. Data needs to be formatted as JSON.", | |
| "method": "POST", | |
| "required_parameters": [ | |
| { | |
| "name": "topic", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "sensor/values" | |
| } | |
| ], | |
| "optional_parameters": [], | |
| "code": "import requests\n\nurl = \"https://iot-data.p.rapidapi.com/\"\nquerystring = {\"topic\": \"sensor/values\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-data.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "convert_code": "import requests\n\nurl = \"https://iot-data.p.rapidapi.com/\"\nquerystring = {\"topic\": \"sensor/values\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-data.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "" | |
| } | |
| ] | |
| } |