Download toolbench/toolenv/tools/Devices/iot_payload_decoder.json from Septzzz/gymcl-data: direct link, hf CLI and curl.
- Browser
- Download file 20.7 kB
-
https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Devices/iot_payload_decoder.json
- Command line
-
hf download hf://datasets/Septzzz/gymcl-data/toolbench/toolenv/tools/Devices/iot_payload_decoder.json
-
curl -L -o iot_payload_decoder.json https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Devices/iot_payload_decoder.json
20.7 kB
| { | |
| "product_id": "api_62c6cb2a-35ab-4396-b1d0-4cf6fb03e9ae", | |
| "tool_description": "Decode IoT device payloads", | |
| "home_url": "https://rapidapi.com/jacksonbowe98/api/iot-payload-decoder/", | |
| "name": "iot-payload-decoder", | |
| "title": "iot-payload-decoder", | |
| "pricing": "FREEMIUM", | |
| "tool_name": "iot-payload-decoder", | |
| "score": { | |
| "avgServiceLevel": 80, | |
| "avgLatency": 496, | |
| "avgSuccessRate": 80, | |
| "popularityScore": 8.7, | |
| "__typename": "Score" | |
| }, | |
| "host": "iot-payload-decoder.p.rapidapi.com", | |
| "api_list": [ | |
| { | |
| "name": "/milesight/AM100S/AM104", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/AM100S/AM104", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01755C03673401046865056A490006651C0079001400077DE704087D070009733F27" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/AM100S/AM104\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/AM100S/AM104\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/EM310S/EM310TILT", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/EM310S/EM310TILT", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01 75 62 03 cf 6f ff a5 00 4c 22 07" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/EM310S/EM310TILT\"\nquerystring = {\"data\": \"01 75 62 03 cf 6f ff a5 00 4c 22 07\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/EM310S/EM310TILT\"\nquerystring = {\"data\": \"01 75 62 03 cf 6f ff a5 00 4c 22 07\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/AM100S/AM103", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/AM100S/AM103", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01755C03673401046865056A490006651C0079001400077DE704087D070009733F27" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/AM100S/AM103\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/AM100S/AM103\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/AM100S/AM107", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/AM100S/AM107", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01755C03673401046865056A490006651C0079001400077DE704087D070009733F27" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/AM100S/AM107\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/AM100S/AM107\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/AM100S/AM103L", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/AM100S/AM103L", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01755C03673401046865056A490006651C0079001400077DE704087D070009733F27" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/AM100S/AM103L\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/AM100S/AM103L\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/EM310S/EM310UDL", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/EM310S/EM310UDL", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01 75 5C 03 82 44 08 04 00 01" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/EM310S/EM310UDL\"\nquerystring = {\"data\": \"01 75 5C 03 82 44 08 04 00 01\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/EM310S/EM310UDL\"\nquerystring = {\"data\": \"01 75 5C 03 82 44 08 04 00 01\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/AM300S/AM307", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/AM300S/AM307", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01755C03673401046865056A490006651C0079001400077DE704087D070009733F27" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/AM300S/AM307\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/AM300S/AM307\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/AM300S/AM319", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/AM300S/AM319", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01755C03673401046865056A490006651C0079001400077DE704087D070009733F27" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/AM300S/AM319\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/AM300S/AM319\"\nquerystring = {\"data\": \"01755C03673401046865056A490006651C0079001400077DE704087D070009733F27\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/EM300S/EM300SDL", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/EM300S/EM300SDL", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01 75 5C 03 67 34 01 04 68 65 05 00 00" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/EM300S/EM300SDL\"\nquerystring = {\"data\": \"01 75 5C 03 67 34 01 04 68 65 05 00 00\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/EM300S/EM300SDL\"\nquerystring = {\"data\": \"01 75 5C 03 67 34 01 04 68 65 05 00 00\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/EM300S/EM300TH", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/EM300S/EM300TH", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01 75 5C 03 67 34 01 04 68 65" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/EM300S/EM300TH\"\nquerystring = {\"data\": \"01 75 5C 03 67 34 01 04 68 65\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/EM300S/EM300TH\"\nquerystring = {\"data\": \"01 75 5C 03 67 34 01 04 68 65\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| { | |
| "name": "/milesight/EM300S/EM300MCS", | |
| "url": "https://iot-payload-decoder.p.rapidapi.com/milesight/EM300S/EM300MCS", | |
| "description": " ", | |
| "method": "POST", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "data", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "01 75 5C 03 67 34 01 04 68 65 06 00 01" | |
| }, | |
| { | |
| "name": "encoding", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "hex" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://iot-payload-decoder.p.rapidapi.com/milesight/EM300S/EM300MCS\"\nquerystring = {\"data\": \"01 75 5C 03 67 34 01 04 68 65 06 00 01\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.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-payload-decoder.p.rapidapi.com/milesight/EM300S/EM300MCS\"\nquerystring = {\"data\": \"01 75 5C 03 67 34 01 04 68 65 06 00 01\", \"encoding\": \"hex\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"iot-payload-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object" | |
| } | |
| } | |
| ] | |
| } |