Download toolbench/toolenv/tools/Storage/postput.json from Septzzz/gymcl-data: direct link, hf CLI and curl.
- Browser
- Download file 6.67 kB
-
https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Storage/postput.json
- Command line
-
hf download hf://datasets/Septzzz/gymcl-data/toolbench/toolenv/tools/Storage/postput.json
-
curl -L -o postput.json https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Storage/postput.json
6.67 kB
| { | |
| "tool_name": "Postput", | |
| "tool_description": "Store & perform on-the-fly operations on your files", | |
| "title": "Postput", | |
| "pricing": "FREE", | |
| "score": { | |
| "avgServiceLevel": 43, | |
| "avgLatency": 498, | |
| "avgSuccessRate": 0, | |
| "popularityScore": 0, | |
| "__typename": "Score" | |
| }, | |
| "home_url": "https://rapidapi.com/deviarch-scs-deviarch-scs-default/api/postput/", | |
| "host": "postput.p.rapidapi.com", | |
| "api_list": [ | |
| { | |
| "name": "Upload file", | |
| "url": "https://postput.p.rapidapi.com/", | |
| "description": "Upload any kind of file to Postput cloud storage.", | |
| "method": "POST", | |
| "required_parameters": [ | |
| { | |
| "name": "your-file", | |
| "type": "BINARY", | |
| "description": "", | |
| "default": "" | |
| } | |
| ], | |
| "optional_parameters": [ | |
| { | |
| "name": "your-second-file", | |
| "type": "BINARY", | |
| "description": "", | |
| "default": "" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://postput.p.rapidapi.com/\"\nquerystring = {\"your-file\": your_file}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"postput.p.rapidapi.com\"\n}\n\nresponse = requests.post(url, headers=headers, params=querystring)\n\nprint(response.json())\n", | |
| "statuscode": 200, | |
| "body": { | |
| "key1": "value", | |
| "key2": "value" | |
| }, | |
| "headers": {}, | |
| "schema": {} | |
| }, | |
| { | |
| "name": "Transform your images", | |
| "url": "https://postput.p.rapidapi.com/6bcc4d12-a024-48be-a067-7c9605cc8397.png", | |
| "description": "Perform on-the-fly operations on your files", | |
| "method": "GET", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "grayscale", | |
| "type": "BOOLEAN", | |
| "description": "", | |
| "default": "true" | |
| }, | |
| { | |
| "name": "rotate", | |
| "type": "NUMBER", | |
| "description": "", | |
| "default": "90" | |
| }, | |
| { | |
| "name": "blur", | |
| "type": "NUMBER", | |
| "description": "", | |
| "default": "4" | |
| }, | |
| { | |
| "name": "resize", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "100,100" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://postput.p.rapidapi.com/6bcc4d12-a024-48be-a067-7c9605cc8397.png\"\nquerystring = {\"grayscale\": grayscale, \"rotate\": rotate, \"blur\": blur, \"resize\": resize}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"postput.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n", | |
| "statuscode": 200, | |
| "body": { | |
| "key1": "value", | |
| "key2": "value" | |
| }, | |
| "headers": {}, | |
| "schema": {} | |
| }, | |
| { | |
| "name": "Transform your images", | |
| "url": "https://postput.p.rapidapi.com/6bcc4d12-a024-48be-a067-7c9605cc8397.png", | |
| "description": "Perform on-the-fly operations on your files", | |
| "method": "GET", | |
| "required_parameters": [], | |
| "optional_parameters": [ | |
| { | |
| "name": "grayscale", | |
| "type": "BOOLEAN", | |
| "description": "", | |
| "default": "true" | |
| }, | |
| { | |
| "name": "rotate", | |
| "type": "NUMBER", | |
| "description": "", | |
| "default": "90" | |
| }, | |
| { | |
| "name": "blur", | |
| "type": "NUMBER", | |
| "description": "", | |
| "default": "4" | |
| }, | |
| { | |
| "name": "resize", | |
| "type": "STRING", | |
| "description": "", | |
| "default": "100,100" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://postput.p.rapidapi.com/6bcc4d12-a024-48be-a067-7c9605cc8397.png\"\nquerystring = {\"grayscale\": grayscale, \"rotate\": rotate, \"blur\": blur, \"resize\": resize}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"postput.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n", | |
| "statuscode": 111, | |
| "body": "", | |
| "headers": "", | |
| "schema": "" | |
| }, | |
| { | |
| "name": "Upload file", | |
| "url": "https://postput.p.rapidapi.com/", | |
| "description": "Upload any kind of file to Postput cloud storage.", | |
| "method": "POST", | |
| "required_parameters": [ | |
| { | |
| "name": "your-file", | |
| "type": "BINARY", | |
| "description": "", | |
| "default": "" | |
| } | |
| ], | |
| "optional_parameters": [ | |
| { | |
| "name": "your-second-file", | |
| "type": "BINARY", | |
| "description": "", | |
| "default": "" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://postput.p.rapidapi.com/\"\nquerystring = {\"your-second-file\": \"\", \"your-file\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"postput.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "convert_code": "import requests\n\nurl = \"https://postput.p.rapidapi.com/\"\nquerystring = {\"your-second-file\": \"\", \"your-file\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"postput.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": {} | |
| } | |
| ] | |
| } |