Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- toolbench/test_instruction/G1_instruction.json +0 -0
- toolbench/test_instruction/G2_instruction.json +0 -0
- toolbench/test_instruction/G3_instruction.json +0 -0
- toolbench/toolenv/tools/.DS_Store +0 -0
- toolbench/toolenv/tools/Advertising/1251/api.py +29 -0
- toolbench/toolenv/tools/Advertising/16e0e5f7a076c2f62a2e41f6b5b99d37e5b9b25e/api.py +29 -0
- toolbench/toolenv/tools/Advertising/20211230_testing_upload_swagger/api.py +50 -0
- toolbench/toolenv/tools/Advertising/a.json +24 -0
- toolbench/toolenv/tools/Advertising/a/api.py +29 -0
- toolbench/toolenv/tools/Advertising/abc.json +31 -0
- toolbench/toolenv/tools/Advertising/abc/api.py +31 -0
- toolbench/toolenv/tools/Advertising/abobakrashraf221.json +37 -0
- toolbench/toolenv/tools/Advertising/abobakrashraf221/api.py +33 -0
- toolbench/toolenv/tools/Advertising/abstract_ip_geolocation.json +37 -0
- toolbench/toolenv/tools/Advertising/abstract_ip_geolocation/api.py +31 -0
- toolbench/toolenv/tools/Advertising/adcopy_ai_google_ads_ai_text_generation.json +80 -0
- toolbench/toolenv/tools/Advertising/adcopy_ai_google_ads_ai_text_generation/api.py +30 -0
- toolbench/toolenv/tools/Advertising/adguru_better_than_chat_gpt.json +31 -0
- toolbench/toolenv/tools/Advertising/adguru_better_than_chat_gpt/api.py +29 -0
- toolbench/toolenv/tools/Advertising/ai_quotes_laksh.json +43 -0
- toolbench/toolenv/tools/Advertising/ai_quotes_laksh/api.py +29 -0
- toolbench/toolenv/tools/Advertising/akkidi_rohith_reddy.json +31 -0
- toolbench/toolenv/tools/Advertising/akkidi_rohith_reddy/api.py +31 -0
- toolbench/toolenv/tools/Advertising/alex_application_programming_interface/api.py +29 -0
- toolbench/toolenv/tools/Advertising/anadolu.json +137 -0
- toolbench/toolenv/tools/Advertising/anti_adblockers/api.py +29 -0
- toolbench/toolenv/tools/Advertising/api.json +31 -0
- toolbench/toolenv/tools/Advertising/api/api.py +29 -0
- toolbench/toolenv/tools/Advertising/api_test_0912/api.py +31 -0
- toolbench/toolenv/tools/Advertising/apilocal.json +48 -0
- toolbench/toolenv/tools/Advertising/apitest2605.json +24 -0
- toolbench/toolenv/tools/Advertising/apitest2605/api.py +29 -0
- toolbench/toolenv/tools/Advertising/as.json +221 -0
- toolbench/toolenv/tools/Advertising/as/api.py +68 -0
- toolbench/toolenv/tools/Advertising/asd.json +68 -0
- toolbench/toolenv/tools/Advertising/asd/api.py +31 -0
- toolbench/toolenv/tools/Advertising/asd_v2/api.py +29 -0
- toolbench/toolenv/tools/Advertising/asdfadsf.json +0 -0
- toolbench/toolenv/tools/Advertising/asdfadsf/api.py +113 -0
- toolbench/toolenv/tools/Advertising/association.json +24 -0
- toolbench/toolenv/tools/Advertising/atomic_sms_sender.json +30 -0
- toolbench/toolenv/tools/Advertising/atomic_sms_sender/api.py +29 -0
- toolbench/toolenv/tools/Advertising/auditsnotshowing.json +24 -0
- toolbench/toolenv/tools/Advertising/auditsnotshowing/api.py +29 -0
- toolbench/toolenv/tools/Advertising/autosub.json +37 -0
- toolbench/toolenv/tools/Advertising/autosub/api.py +29 -0
- toolbench/toolenv/tools/Advertising/bbb.json +24 -0
- toolbench/toolenv/tools/Advertising/bbb/api.py +31 -0
- toolbench/toolenv/tools/Advertising/bhrp.json +26 -0
- toolbench/toolenv/tools/Advertising/bing_keyword_planner.json +113 -0
toolbench/test_instruction/G1_instruction.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
toolbench/test_instruction/G2_instruction.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
toolbench/test_instruction/G3_instruction.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
toolbench/toolenv/tools/.DS_Store
ADDED
|
Binary file (10.2 kB). View file
|
|
|
toolbench/toolenv/tools/Advertising/1251/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def ff(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"ff"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://1251.p.rapidapi.com/posts"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "1251.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/16e0e5f7a076c2f62a2e41f6b5b99d37e5b9b25e/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def venture(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"Link to any suggestions on a nail"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://16e0e5f7a076c2f62a2e41f6b5b99d37e5b9b25e.p.rapidapi.com/employees/id"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "16e0e5f7a076c2f62a2e41f6b5b99d37e5b9b25e.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/20211230_testing_upload_swagger/api.py
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def testing_endpoint(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"testing endpoint"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://20211230-testing-upload-swagger.p.rapidapi.com/"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "20211230-testing-upload-swagger.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
| 30 |
+
def open_api_v1_0_indoor_air_quality_iot(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 31 |
+
"""
|
| 32 |
+
"Apply for this API to access the steps for indoor air quality information about IoT device - v2"
|
| 33 |
+
|
| 34 |
+
"""
|
| 35 |
+
url = f"https://20211230-testing-upload-swagger.p.rapidapi.com/open-api/v1.0/indoor-air-quality/iot/"
|
| 36 |
+
querystring = {}
|
| 37 |
+
|
| 38 |
+
headers = {
|
| 39 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 40 |
+
"X-RapidAPI-Host": "20211230-testing-upload-swagger.p.rapidapi.com"
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 45 |
+
try:
|
| 46 |
+
observation = response.json()
|
| 47 |
+
except:
|
| 48 |
+
observation = response.text
|
| 49 |
+
return observation
|
| 50 |
+
|
toolbench/toolenv/tools/Advertising/a.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"a",
|
| 3 |
+
"tool_description":"a",
|
| 4 |
+
"title":"a",
|
| 5 |
+
"pricing":"FREE",
|
| 6 |
+
"score":null,
|
| 7 |
+
"home_url":"https://rapidapi.com/hungdn/api/a396/",
|
| 8 |
+
"host":"a396.p.rapidapi.com",
|
| 9 |
+
"api_list":[
|
| 10 |
+
{
|
| 11 |
+
"name":"api",
|
| 12 |
+
"url":"https://a396.p.rapidapi.com/cgi-bin/secure/api.cgi",
|
| 13 |
+
"description":"a",
|
| 14 |
+
"method":"GET",
|
| 15 |
+
"required_parameters":[],
|
| 16 |
+
"optional_parameters":[],
|
| 17 |
+
"code":"import requests\n\nurl = \"https://a396.p.rapidapi.com/cgi-bin/secure/api.cgi\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"a396.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n",
|
| 18 |
+
"statuscode":111,
|
| 19 |
+
"body":"",
|
| 20 |
+
"headers":"",
|
| 21 |
+
"schema":""
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
toolbench/toolenv/tools/Advertising/a/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def api(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"a"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://a396.p.rapidapi.com/cgi-bin/secure/api.cgi"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "a396.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/abc.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"abc",
|
| 3 |
+
"tool_description":"abc",
|
| 4 |
+
"title":"abc",
|
| 5 |
+
"pricing":"FREE",
|
| 6 |
+
"score":null,
|
| 7 |
+
"home_url":"https://rapidapi.com/bayby-yoda-bayby-yoda-default/api/abc99/",
|
| 8 |
+
"host":"abc99.p.rapidapi.com",
|
| 9 |
+
"api_list":[
|
| 10 |
+
{
|
| 11 |
+
"name":"hello",
|
| 12 |
+
"url":"https://abc99.p.rapidapi.com/hello",
|
| 13 |
+
"description":"hello",
|
| 14 |
+
"method":"GET",
|
| 15 |
+
"required_parameters":[],
|
| 16 |
+
"optional_parameters":[
|
| 17 |
+
{
|
| 18 |
+
"name":"id",
|
| 19 |
+
"type":"STRING",
|
| 20 |
+
"description":"",
|
| 21 |
+
"default":"123"
|
| 22 |
+
}
|
| 23 |
+
],
|
| 24 |
+
"code":"import requests\n\nurl = \"https://abc99.p.rapidapi.com/hello\"\nquerystring = {\"id\": id}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"abc99.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
|
| 25 |
+
"statuscode":111,
|
| 26 |
+
"body":"",
|
| 27 |
+
"headers":"",
|
| 28 |
+
"schema":""
|
| 29 |
+
}
|
| 30 |
+
]
|
| 31 |
+
}
|
toolbench/toolenv/tools/Advertising/abc/api.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def hello(is_id: str='123', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"hello"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://abc99.p.rapidapi.com/hello"
|
| 15 |
+
querystring = {}
|
| 16 |
+
if is_id:
|
| 17 |
+
querystring['id'] = is_id
|
| 18 |
+
|
| 19 |
+
headers = {
|
| 20 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 21 |
+
"X-RapidAPI-Host": "abc99.p.rapidapi.com"
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 26 |
+
try:
|
| 27 |
+
observation = response.json()
|
| 28 |
+
except:
|
| 29 |
+
observation = response.text
|
| 30 |
+
return observation
|
| 31 |
+
|
toolbench/toolenv/tools/Advertising/abobakrashraf221.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"AbobakrAshraf221",
|
| 3 |
+
"tool_description":"إعلانات ولا أحلى",
|
| 4 |
+
"title":"AbobakrAshraf221",
|
| 5 |
+
"pricing":"FREE",
|
| 6 |
+
"score":null,
|
| 7 |
+
"home_url":"https://rapidapi.com/heemau2001/api/abobakrashraf221/",
|
| 8 |
+
"host":"abobakrashraf221.p.rapidapi.com",
|
| 9 |
+
"api_list":[
|
| 10 |
+
{
|
| 11 |
+
"name":"m1223saa",
|
| 12 |
+
"url":"https://abobakrashraf221.p.rapidapi.com/",
|
| 13 |
+
"description":"سهولة الوصول إلينا",
|
| 14 |
+
"method":"GET",
|
| 15 |
+
"required_parameters":[],
|
| 16 |
+
"optional_parameters":[
|
| 17 |
+
{
|
| 18 |
+
"name":"fathia",
|
| 19 |
+
"type":"OBJECT",
|
| 20 |
+
"description":"",
|
| 21 |
+
"default":"trtj"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"name":"fgsjffh",
|
| 25 |
+
"type":"STRING",
|
| 26 |
+
"description":"",
|
| 27 |
+
"default":""
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"code":"import requests\n\nurl = \"https://abobakrashraf221.p.rapidapi.com/\"\nquerystring = {\"fathia\": fathia}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"abobakrashraf221.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
|
| 31 |
+
"statuscode":111,
|
| 32 |
+
"body":"",
|
| 33 |
+
"headers":"",
|
| 34 |
+
"schema":""
|
| 35 |
+
}
|
| 36 |
+
]
|
| 37 |
+
}
|
toolbench/toolenv/tools/Advertising/abobakrashraf221/api.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def m1223saa(fathia: str='trtj', fgsjffh: str=None, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"سهولة الوصول إلينا"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://abobakrashraf221.p.rapidapi.com/"
|
| 15 |
+
querystring = {}
|
| 16 |
+
if fathia:
|
| 17 |
+
querystring['fathia'] = fathia
|
| 18 |
+
if fgsjffh:
|
| 19 |
+
querystring['fgsjffh'] = fgsjffh
|
| 20 |
+
|
| 21 |
+
headers = {
|
| 22 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 23 |
+
"X-RapidAPI-Host": "abobakrashraf221.p.rapidapi.com"
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 28 |
+
try:
|
| 29 |
+
observation = response.json()
|
| 30 |
+
except:
|
| 31 |
+
observation = response.text
|
| 32 |
+
return observation
|
| 33 |
+
|
toolbench/toolenv/tools/Advertising/abstract_ip_geolocation.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"Abstract IP geolocation",
|
| 3 |
+
"tool_description":"Get the location of any IP along with city, region, country, lat/long data, and more here https://www.abstractapi.com/ip-geolocation-api. Documentation available here: https://www.abstractapi.com/ip-geolocation-api#docs",
|
| 4 |
+
"title":"Abstract IP geolocation",
|
| 5 |
+
"pricing":"FREE",
|
| 6 |
+
"score":{
|
| 7 |
+
"avgServiceLevel":100,
|
| 8 |
+
"avgLatency":980,
|
| 9 |
+
"avgSuccessRate":0,
|
| 10 |
+
"popularityScore":0.1,
|
| 11 |
+
"__typename":"Score"
|
| 12 |
+
},
|
| 13 |
+
"home_url":"https://rapidapi.com/karmadele/api/abstract-ip-geolocation/",
|
| 14 |
+
"host":"abstract-ip-geolocation.p.rapidapi.com",
|
| 15 |
+
"api_list":[
|
| 16 |
+
{
|
| 17 |
+
"name":"Geolocation from an IP Address",
|
| 18 |
+
"url":"https://abstract-ip-geolocation.p.rapidapi.com/",
|
| 19 |
+
"description":"Get Geolocation from an IP Address",
|
| 20 |
+
"method":"GET",
|
| 21 |
+
"required_parameters":[],
|
| 22 |
+
"optional_parameters":[
|
| 23 |
+
{
|
| 24 |
+
"name":"q",
|
| 25 |
+
"type":"STRING",
|
| 26 |
+
"description":"",
|
| 27 |
+
"default":""
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"code":"import requests\n\nurl = \"https://abstract-ip-geolocation.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"abstract-ip-geolocation.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n",
|
| 31 |
+
"statuscode":111,
|
| 32 |
+
"body":"",
|
| 33 |
+
"headers":"",
|
| 34 |
+
"schema":""
|
| 35 |
+
}
|
| 36 |
+
]
|
| 37 |
+
}
|
toolbench/toolenv/tools/Advertising/abstract_ip_geolocation/api.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def geolocation_from_an_ip_address(q: str=None, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"Get Geolocation from an IP Address"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://abstract-ip-geolocation.p.rapidapi.com/"
|
| 15 |
+
querystring = {}
|
| 16 |
+
if q:
|
| 17 |
+
querystring['q'] = q
|
| 18 |
+
|
| 19 |
+
headers = {
|
| 20 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 21 |
+
"X-RapidAPI-Host": "abstract-ip-geolocation.p.rapidapi.com"
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 26 |
+
try:
|
| 27 |
+
observation = response.json()
|
| 28 |
+
except:
|
| 29 |
+
observation = response.text
|
| 30 |
+
return observation
|
| 31 |
+
|
toolbench/toolenv/tools/Advertising/adcopy_ai_google_ads_ai_text_generation.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name": "AdCopy AI - Google Ads AI Text Generation",
|
| 3 |
+
"tool_description": "AdCopy AI: The perfect solution for SEM and PPC marketers. With its advanced cloud infrastructure and OpenAI's ChatGPT engine, AdCopy AI generates top-notch ad copy tailored to Google's (TM) specifications, ensuring high relevance scores and reducing CPC and CPM costs. Say goodbye to time-consuming ad writing and hello to AdCopy AI - the AI technology that revolutionizes the way you write Ad Copy for your Google Ads (TM), freeing up your time and effort so you can focus on other important tasks.",
|
| 4 |
+
"title": "AdCopy AI - Google Ads AI Text Generation",
|
| 5 |
+
"pricing": "FREEMIUM",
|
| 6 |
+
"score": {
|
| 7 |
+
"avgServiceLevel": 100,
|
| 8 |
+
"avgLatency": 1130,
|
| 9 |
+
"avgSuccessRate": 95,
|
| 10 |
+
"popularityScore": 9.3,
|
| 11 |
+
"__typename": "Score"
|
| 12 |
+
},
|
| 13 |
+
"home_url": "https://rapidapi.com/BigFoxMedia/api/adcopy-ai-google-ads-ai-text-generation/",
|
| 14 |
+
"host": "adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com",
|
| 15 |
+
"api_list": [
|
| 16 |
+
{
|
| 17 |
+
"name": "API Key Validation",
|
| 18 |
+
"url": "https://adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com/v1/seo/validateApi",
|
| 19 |
+
"description": "This endpoint is used only to validate API Keys, it simply returns a status of 200 and a message of 'OK'. \nThe use of this endpoint is Free, and is useful for server-to-server FREE API validation.",
|
| 20 |
+
"method": "GET",
|
| 21 |
+
"required_parameters": [],
|
| 22 |
+
"optional_parameters": [],
|
| 23 |
+
"code": "import requests\n\nurl = \"https://adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com/v1/seo/validateApi\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n",
|
| 24 |
+
"statuscode": 200,
|
| 25 |
+
"body": "OK",
|
| 26 |
+
"headers": {
|
| 27 |
+
"access-control-allow-credentials": "true",
|
| 28 |
+
"access-control-allow-origin": "*",
|
| 29 |
+
"content-length": "2",
|
| 30 |
+
"content-security-policy": "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests",
|
| 31 |
+
"content-type": "text/html; charset=utf-8",
|
| 32 |
+
"date": "Tue, 14 Feb 2023 02:11:47 GMT",
|
| 33 |
+
"etag": "W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\"",
|
| 34 |
+
"expect-ct": "max-age=0",
|
| 35 |
+
"referrer-policy": "no-referrer",
|
| 36 |
+
"server": "RapidAPI-1.2.8",
|
| 37 |
+
"strict-transport-security": "max-age=15552000; includeSubDomains",
|
| 38 |
+
"vary": "Accept-Encoding",
|
| 39 |
+
"x-content-type-options": "nosniff",
|
| 40 |
+
"x-dns-prefetch-control": "off",
|
| 41 |
+
"x-download-options": "noopen",
|
| 42 |
+
"x-frame-options": "SAMEORIGIN",
|
| 43 |
+
"x-permitted-cross-domain-policies": "none",
|
| 44 |
+
"x-rapidapi-region": "AWS - us-east-1",
|
| 45 |
+
"x-rapidapi-version": "1.2.8",
|
| 46 |
+
"x-ratelimit-requests-limit": "300",
|
| 47 |
+
"x-ratelimit-requests-remaining": "295",
|
| 48 |
+
"x-ratelimit-requests-reset": "2341986",
|
| 49 |
+
"x-xss-protection": "0"
|
| 50 |
+
},
|
| 51 |
+
"schema": {}
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": "20+ Ad Descriptions Generator",
|
| 55 |
+
"url": "https://adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com/v1/adcopyai/descriptions",
|
| 56 |
+
"description": "Get relevant & Complint Google Ad headlines for SEM and PPC marketers, created by SEM Experts. Results include 10+ ad headlines, and are based on user inputs as well as A.I. Intelligence based on OpenAI's engine. \n\n**Detailed description:**\nThe Headlines generator endpoint uses advanced prompt engineering to analyze user inputs in the form of URL, subject, and important keywords to create high-quality ad headlines that are tailored to the product or service being advertised. By leveraging the advanced capabilities of OpenAI's ChatGPT engine, the endpoint is able to deliver top-of-the-line ad headlines that are optimized for relevance, clarity, and engagement.\n\n**Detailed Technical Documentation:**\nThe Headlines generator endpoint of AdCopy AI can be accessed through a GET request, with the following query parameters:\n\n**subject:** Required. A string of between 10 and 60 characters, which represents the \"value proposition\" of the product or service being advertised. The user is advised to provide keywords in a comma-delimited format.\n\n**url:** Required. A string that represents the URL of a page that describes the product or service being advertised. The API will fetch the content from the page and extract relevant keywords to help generate quality ads.\n\n**mostImportantKeywords:** Optional. A string of up to 100 characters, representing the most important keywords about the ad group being advertised. The presence of these keywords in the resulting content is not guaranteed.\n\n**language:** Optional. A string that represents the target audience's language in ISO-2 format (e.g. EN, IT, ES, etc.). The field is currently in alpha testing and may not provide results in the requested language.\n\n**country:** Optional. A string that represents the target audience's country in ISO-2 format (e.g. US, CA, IT, etc.). The field is currently in alpha testing and may not provide country-specific content.\n\n**exampleHeadlines:** Optional. A string of at most 200 characters, representing example headlines that the user may provide to fine-tune the results.\n\nThe endpoint will return up to 10 ad headlines that are tailored to the product or service being advertised. The headlines will be optimized for relevance, clarity, and engagement, leveraging the advanced capabilities of OpenAI's ChatGPT engine and Significat Prompt Optimization.",
|
| 57 |
+
"method": "POST",
|
| 58 |
+
"required_parameters": [],
|
| 59 |
+
"optional_parameters": [],
|
| 60 |
+
"code": "import requests\n\nurl = \"https://adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com/v1/adcopyai/descriptions\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 61 |
+
"convert_code": "import requests\n\nurl = \"https://adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com/v1/adcopyai/descriptions\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 62 |
+
"test_endpoint": "",
|
| 63 |
+
"statuscode": 1,
|
| 64 |
+
"schema": ""
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": "20+ Ad Headlines Generator",
|
| 68 |
+
"url": "https://adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com/v1/adcopyai/headlines",
|
| 69 |
+
"description": "Get relevant & Complint Google Ad headlines for SEM and PPC marketers, created by SEM Experts. Results include 10+ ad headlines, and are based on user inputs as well as A.I. Intelligence based on OpenAI's engine. \n\n**Detailed description:**\nThe Headlines generator endpoint uses advanced prompt engineering to analyze user inputs in the form of URL, subject, and important keywords to create high-quality ad headlines that are tailored to the product or service being advertised. By leveraging the advanced capabilities of OpenAI's ChatGPT engine, the endpoint is able to deliver top-of-the-line ad headlines that are optimized for relevance, clarity, and engagement.\n\n**Detailed Technical Documentation:**\nThe Headlines generator endpoint of AdCopy AI can be accessed through a GET request, with the following query parameters:\n\n**subject:** Required. A string of between 10 and 60 characters, which represents the \"value proposition\" of the product or service being advertised. The user is advised to provide keywords in a comma-delimited format.\n\n**url:** Required. A string that represents the URL of a page that describes the product or service being advertised. The API will fetch the content from the page and extract relevant keywords to help generate quality ads.\n\n**mostImportantKeywords:** Optional. A string of up to 100 characters, representing the most important keywords about the ad group being advertised. The presence of these keywords in the resulting content is not guaranteed.\n\n**language:** Optional. A string that represents the target audience's language in ISO-2 format (e.g. EN, IT, ES, etc.). The field is currently in alpha testing and may not provide results in the requested language.\n\n**country:** Optional. A string that represents the target audience's country in ISO-2 format (e.g. US, CA, IT, etc.). The field is currently in alpha testing and may not provide country-specific content.\n\n**exampleHeadlines:** Optional. A string of at most 200 characters, representing example headlines that the user may provide to fine-tune the results.\n\nThe endpoint will return up to 10 ad headlines that are tailored to the product or service being advertised. The headlines will be optimized for relevance, clarity, and engagement, leveraging the advanced capabilities of OpenAI's ChatGPT engine and Significat Prompt Optimization.",
|
| 70 |
+
"method": "POST",
|
| 71 |
+
"required_parameters": [],
|
| 72 |
+
"optional_parameters": [],
|
| 73 |
+
"code": "import requests\n\nurl = \"https://adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com/v1/adcopyai/headlines\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 74 |
+
"convert_code": "import requests\n\nurl = \"https://adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com/v1/adcopyai/headlines\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 75 |
+
"test_endpoint": "",
|
| 76 |
+
"statuscode": 1,
|
| 77 |
+
"schema": ""
|
| 78 |
+
}
|
| 79 |
+
]
|
| 80 |
+
}
|
toolbench/toolenv/tools/Advertising/adcopy_ai_google_ads_ai_text_generation/api.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def api_key_validation(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"This endpoint is used only to validate API Keys, it simply returns a status of 200 and a message of 'OK'.
|
| 12 |
+
The use of this endpoint is Free, and is useful for server-to-server FREE API validation."
|
| 13 |
+
|
| 14 |
+
"""
|
| 15 |
+
url = f"https://adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com/v1/seo/validateapi"
|
| 16 |
+
querystring = {}
|
| 17 |
+
|
| 18 |
+
headers = {
|
| 19 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 20 |
+
"X-RapidAPI-Host": "adcopy-ai-google-ads-ai-text-generation.p.rapidapi.com"
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 25 |
+
try:
|
| 26 |
+
observation = response.json()
|
| 27 |
+
except:
|
| 28 |
+
observation = response.text
|
| 29 |
+
return observation
|
| 30 |
+
|
toolbench/toolenv/tools/Advertising/adguru_better_than_chat_gpt.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"AdGuru - Better Than Chat GPT",
|
| 3 |
+
"tool_description":"A ChatGPT model provides the perfect solution for SEM and PPC marketers. A cutting-edge solution for marketers. With its advanced language generation technology and powerful algorithms, AdGuru generates top-notch advertisement copy that appeals to your target audience and drives results. Say goodbye to the hassle and frustration of ad writing and hello to AdGuru - the AI-powered tool that simplifies and streamlines the ad creation process, freeing up your time and resources for other importan...",
|
| 4 |
+
"title":"AdGuru - Better Than Chat GPT",
|
| 5 |
+
"pricing":"FREEMIUM",
|
| 6 |
+
"score":null,
|
| 7 |
+
"home_url":"https://rapidapi.com/ub-creations-ltd-ub-creations-ltd-default/api/adguru-better-than-chat-gpt1/",
|
| 8 |
+
"host":"adguru-better-than-chat-gpt1.p.rapidapi.com",
|
| 9 |
+
"api_list":[
|
| 10 |
+
{
|
| 11 |
+
"name":"Generate Ad Copy",
|
| 12 |
+
"url":"https://adguru-better-than-chat-gpt1.p.rapidapi.com/adcopy",
|
| 13 |
+
"description":"Generate AI based Ad Copy for your product that actually SELL",
|
| 14 |
+
"method":"GET",
|
| 15 |
+
"required_parameters":[
|
| 16 |
+
{
|
| 17 |
+
"name":"input",
|
| 18 |
+
"type":"STRING",
|
| 19 |
+
"description":"",
|
| 20 |
+
"default":"Fidget Spinner"
|
| 21 |
+
}
|
| 22 |
+
],
|
| 23 |
+
"optional_parameters":[],
|
| 24 |
+
"code":"import requests\n\nurl = \"https://adguru-better-than-chat-gpt1.p.rapidapi.com/adcopy\"\nquerystring = {\"input\": input}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"adguru-better-than-chat-gpt1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
|
| 25 |
+
"statuscode":111,
|
| 26 |
+
"body":"",
|
| 27 |
+
"headers":"",
|
| 28 |
+
"schema":""
|
| 29 |
+
}
|
| 30 |
+
]
|
| 31 |
+
}
|
toolbench/toolenv/tools/Advertising/adguru_better_than_chat_gpt/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def generate_ad_copy(input: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"Generate AI based Ad Copy for your product that actually SELL"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://adguru-better-than-chat-gpt1.p.rapidapi.com/adcopy"
|
| 15 |
+
querystring = {'input': input, }
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "adguru-better-than-chat-gpt1.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/ai_quotes_laksh.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"product_id": "api_1e5778c3-fe38-4b05-b9bd-b7e5c11276e1",
|
| 3 |
+
"tool_description": "AI Quotes Laksh",
|
| 4 |
+
"home_url": "https://rapidapi.com/LakshMody/api/ai-quotes-laksh/",
|
| 5 |
+
"name": "AI Quotes Laksh",
|
| 6 |
+
"title": "AI Quotes Laksh",
|
| 7 |
+
"pricing": "FREE",
|
| 8 |
+
"tool_name": "AI Quotes Laksh",
|
| 9 |
+
"score": null,
|
| 10 |
+
"host": "ai-quotes-laksh.p.rapidapi.com",
|
| 11 |
+
"api_list": [
|
| 12 |
+
{
|
| 13 |
+
"name": "Create Quote",
|
| 14 |
+
"url": "https://ai-quotes-laksh.p.rapidapi.com/{id}",
|
| 15 |
+
"description": "Create Quote",
|
| 16 |
+
"method": "POST",
|
| 17 |
+
"required_parameters": [
|
| 18 |
+
{
|
| 19 |
+
"name": "id",
|
| 20 |
+
"type": "string",
|
| 21 |
+
"description": "",
|
| 22 |
+
"default": ""
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"name": "quote",
|
| 26 |
+
"type": "STRING",
|
| 27 |
+
"description": "",
|
| 28 |
+
"default": ""
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"name": "author",
|
| 32 |
+
"type": "STRING",
|
| 33 |
+
"description": "",
|
| 34 |
+
"default": "elon"
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"optional_parameters": [],
|
| 38 |
+
"code": "import requests\n\nurl = \"https://ai-quotes-laksh.p.rapidapi.com/{id}\"\nquerystring = {\"id\": \"\", \"quote\": \"\", \"author\": \"elon\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"ai-quotes-laksh.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 39 |
+
"convert_code": "import requests\n\nurl = \"https://ai-quotes-laksh.p.rapidapi.com/{id}\"\nquerystring = {\"id\": \"\", \"quote\": \"\", \"author\": \"elon\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"ai-quotes-laksh.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 40 |
+
"test_endpoint": ""
|
| 41 |
+
}
|
| 42 |
+
]
|
| 43 |
+
}
|
toolbench/toolenv/tools/Advertising/ai_quotes_laksh/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def ai_quote(is_id: int, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"Get a quote. Random quote returned if id=0."
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://ai-quotes-laksh.p.rapidapi.com/{is_id}"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "ai-quotes-laksh.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/akkidi_rohith_reddy.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"Akkidi Rohith Reddy",
|
| 3 |
+
"tool_description":"Represents URLs as QR Code.",
|
| 4 |
+
"title":"Akkidi Rohith Reddy",
|
| 5 |
+
"pricing":"PAID",
|
| 6 |
+
"score":null,
|
| 7 |
+
"home_url":"https://rapidapi.com/akkidirohithreddy1729/api/akkidi-rohith-reddy/",
|
| 8 |
+
"host":"akkidi-rohith-reddy.p.rapidapi.com",
|
| 9 |
+
"api_list":[
|
| 10 |
+
{
|
| 11 |
+
"name":"QR Image for URL",
|
| 12 |
+
"url":"https://akkidi-rohith-reddy.p.rapidapi.com/qr",
|
| 13 |
+
"description":"Put URL, get QR Image for it.",
|
| 14 |
+
"method":"GET",
|
| 15 |
+
"required_parameters":[],
|
| 16 |
+
"optional_parameters":[
|
| 17 |
+
{
|
| 18 |
+
"name":"url",
|
| 19 |
+
"type":"STRING",
|
| 20 |
+
"description":"",
|
| 21 |
+
"default":"https://www.kaggle.com/"
|
| 22 |
+
}
|
| 23 |
+
],
|
| 24 |
+
"code":"import requests\n\nurl = \"https://akkidi-rohith-reddy.p.rapidapi.com/qr\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"akkidi-rohith-reddy.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
|
| 25 |
+
"statuscode":111,
|
| 26 |
+
"body":"",
|
| 27 |
+
"headers":"",
|
| 28 |
+
"schema":""
|
| 29 |
+
}
|
| 30 |
+
]
|
| 31 |
+
}
|
toolbench/toolenv/tools/Advertising/akkidi_rohith_reddy/api.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def qr_image_for_url(url: str='https://www.kaggle.com/', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"Put URL, get QR Image for it."
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://akkidi-rohith-reddy.p.rapidapi.com/qr"
|
| 15 |
+
querystring = {}
|
| 16 |
+
if url:
|
| 17 |
+
querystring['url'] = url
|
| 18 |
+
|
| 19 |
+
headers = {
|
| 20 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 21 |
+
"X-RapidAPI-Host": "akkidi-rohith-reddy.p.rapidapi.com"
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 26 |
+
try:
|
| 27 |
+
observation = response.json()
|
| 28 |
+
except:
|
| 29 |
+
observation = response.text
|
| 30 |
+
return observation
|
| 31 |
+
|
toolbench/toolenv/tools/Advertising/alex_application_programming_interface/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def weather(latitude: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"Weather"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://alex-application-programming-interface.p.rapidapi.com/api.lil.software/weather/{latitude}"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "alex-application-programming-interface.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/anadolu.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"product_id": "api_ca06f02c-b94a-4b7f-a653-29b998f0de14",
|
| 3 |
+
"tool_description": "v2",
|
| 4 |
+
"home_url": "https://rapidapi.com/parameu-techteam/api/anadolu/",
|
| 5 |
+
"name": "anadolu",
|
| 6 |
+
"title": "anadolu",
|
| 7 |
+
"pricing": "FREEMIUM",
|
| 8 |
+
"tool_name": "anadolu",
|
| 9 |
+
"score": null,
|
| 10 |
+
"host": "anadolu.p.rapidapi.com",
|
| 11 |
+
"api_list": [
|
| 12 |
+
{
|
| 13 |
+
"name": "generateReportPdf",
|
| 14 |
+
"url": "https://anadolu.p.rapidapi.com/v1/instagram/profile/nostrud proident qui eu Lorem/report/pdf",
|
| 15 |
+
"description": " ",
|
| 16 |
+
"method": "POST",
|
| 17 |
+
"required_parameters": [
|
| 18 |
+
{
|
| 19 |
+
"name": "userId",
|
| 20 |
+
"type": "STRING",
|
| 21 |
+
"description": "(Required) User's Instagram handle or user ID from Instagram",
|
| 22 |
+
"default": "nostrud proident qui eu Lorem"
|
| 23 |
+
}
|
| 24 |
+
],
|
| 25 |
+
"optional_parameters": [],
|
| 26 |
+
"code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/instagram/profile/nostrud proident qui eu Lorem/report/pdf\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 27 |
+
"convert_code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/instagram/profile/{userid}/report/pdf\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 28 |
+
"test_endpoint": "",
|
| 29 |
+
"statuscode": 200,
|
| 30 |
+
"schema": {
|
| 31 |
+
"type": "object"
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": "searchInfluencers",
|
| 36 |
+
"url": "https://anadolu.p.rapidapi.com/v1/instagram/search",
|
| 37 |
+
"description": "Get a list of influencers that match your filters.",
|
| 38 |
+
"method": "POST",
|
| 39 |
+
"required_parameters": [],
|
| 40 |
+
"optional_parameters": [],
|
| 41 |
+
"code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/instagram/search\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 42 |
+
"convert_code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/instagram/search\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 43 |
+
"test_endpoint": "",
|
| 44 |
+
"statuscode": 200,
|
| 45 |
+
"schema": {
|
| 46 |
+
"type": "object"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": "generateReportPdf",
|
| 51 |
+
"url": "https://anadolu.p.rapidapi.com/v1/youtube/profile/nostrud proident qui eu Lorem/report/pdf",
|
| 52 |
+
"description": " ",
|
| 53 |
+
"method": "POST",
|
| 54 |
+
"required_parameters": [
|
| 55 |
+
{
|
| 56 |
+
"name": "userId",
|
| 57 |
+
"type": "STRING",
|
| 58 |
+
"description": "(Required) User's YouTube handle or user ID from YouTube",
|
| 59 |
+
"default": "nostrud proident qui eu Lorem"
|
| 60 |
+
}
|
| 61 |
+
],
|
| 62 |
+
"optional_parameters": [],
|
| 63 |
+
"code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/youtube/profile/nostrud proident qui eu Lorem/report/pdf\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 64 |
+
"convert_code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/youtube/profile/{userid}/report/pdf\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 65 |
+
"test_endpoint": "",
|
| 66 |
+
"statuscode": 200,
|
| 67 |
+
"schema": {
|
| 68 |
+
"type": "object"
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": "searchInfluencers",
|
| 73 |
+
"url": "https://anadolu.p.rapidapi.com/v1/youtube/search",
|
| 74 |
+
"description": "Get a list of influencers that match your filters.",
|
| 75 |
+
"method": "POST",
|
| 76 |
+
"required_parameters": [],
|
| 77 |
+
"optional_parameters": [],
|
| 78 |
+
"code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/youtube/search\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 79 |
+
"convert_code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/youtube/search\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 80 |
+
"test_endpoint": "",
|
| 81 |
+
"statuscode": 200,
|
| 82 |
+
"schema": {
|
| 83 |
+
"type": "object"
|
| 84 |
+
}
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": "searchInfluencers",
|
| 88 |
+
"url": "https://anadolu.p.rapidapi.com/v1/tiktok/search",
|
| 89 |
+
"description": "Get a list of influencers that match your filters.",
|
| 90 |
+
"method": "POST",
|
| 91 |
+
"required_parameters": [],
|
| 92 |
+
"optional_parameters": [],
|
| 93 |
+
"code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/tiktok/search\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 94 |
+
"convert_code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/tiktok/search\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 95 |
+
"test_endpoint": "",
|
| 96 |
+
"statuscode": 1,
|
| 97 |
+
"schema": ""
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": "audienceOverlapReports",
|
| 101 |
+
"url": "https://anadolu.p.rapidapi.com/v1/instagram/reports/audience/overlap",
|
| 102 |
+
"description": "Check audience (followers) overlap for several influencers. </br> <strong>This feature is not enabled by default.</strong> [Contact us](mailto:hello@modash.io) to unlock it.",
|
| 103 |
+
"method": "POST",
|
| 104 |
+
"required_parameters": [],
|
| 105 |
+
"optional_parameters": [],
|
| 106 |
+
"code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/instagram/reports/audience/overlap\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 107 |
+
"convert_code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/instagram/reports/audience/overlap\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 108 |
+
"test_endpoint": "",
|
| 109 |
+
"statuscode": 200,
|
| 110 |
+
"schema": {
|
| 111 |
+
"type": "object"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "generateReportPdf",
|
| 116 |
+
"url": "https://anadolu.p.rapidapi.com/v1/tiktok/profile/nostrud proident qui eu Lorem/report/pdf",
|
| 117 |
+
"description": " ",
|
| 118 |
+
"method": "POST",
|
| 119 |
+
"required_parameters": [
|
| 120 |
+
{
|
| 121 |
+
"name": "userId",
|
| 122 |
+
"type": "STRING",
|
| 123 |
+
"description": "(Required) User's TikTok handle or user ID from TikTok",
|
| 124 |
+
"default": "nostrud proident qui eu Lorem"
|
| 125 |
+
}
|
| 126 |
+
],
|
| 127 |
+
"optional_parameters": [],
|
| 128 |
+
"code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/tiktok/profile/nostrud proident qui eu Lorem/report/pdf\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 129 |
+
"convert_code": "import requests\n\nurl = \"https://anadolu.p.rapidapi.com/v1/tiktok/profile/{userid}/report/pdf\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"anadolu.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 130 |
+
"test_endpoint": "",
|
| 131 |
+
"statuscode": 200,
|
| 132 |
+
"schema": {
|
| 133 |
+
"type": "object"
|
| 134 |
+
}
|
| 135 |
+
}
|
| 136 |
+
]
|
| 137 |
+
}
|
toolbench/toolenv/tools/Advertising/anti_adblockers/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def js(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
""
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://atmoner-anti-adblockers-v1.p.rapidapi.com/js"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "atmoner-anti-adblockers-v1.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/api.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"テストAPI",
|
| 3 |
+
"tool_description":"説明文",
|
| 4 |
+
"title":"テストAPI",
|
| 5 |
+
"pricing":"FREEMIUM",
|
| 6 |
+
"score":null,
|
| 7 |
+
"home_url":"https://rapidapi.com/yasu-lfeTYpe_Wa_/api/api10/",
|
| 8 |
+
"host":"api10.p.rapidapi.com",
|
| 9 |
+
"api_list":[
|
| 10 |
+
{
|
| 11 |
+
"name":"顔認証",
|
| 12 |
+
"url":"https://api10.p.rapidapi.com/face_recognition",
|
| 13 |
+
"description":"これは顔認証のAPIです。",
|
| 14 |
+
"method":"GET",
|
| 15 |
+
"required_parameters":[
|
| 16 |
+
{
|
| 17 |
+
"name":"image",
|
| 18 |
+
"type":"STRING",
|
| 19 |
+
"description":"",
|
| 20 |
+
"default":"image data"
|
| 21 |
+
}
|
| 22 |
+
],
|
| 23 |
+
"optional_parameters":[],
|
| 24 |
+
"code":"import requests\n\nurl = \"https://api10.p.rapidapi.com/face_recognition\"\nquerystring = {\"image\": image}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"api10.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
|
| 25 |
+
"statuscode":111,
|
| 26 |
+
"body":"",
|
| 27 |
+
"headers":"",
|
| 28 |
+
"schema":""
|
| 29 |
+
}
|
| 30 |
+
]
|
| 31 |
+
}
|
toolbench/toolenv/tools/Advertising/api/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def 顔認証(image: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"これは顔認証のAPIです。"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://api10.p.rapidapi.com/face_recognition"
|
| 15 |
+
querystring = {'image': image, }
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "api10.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/api_test_0912/api.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def httpechodemo(message: str=None, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"Demo API"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://api-test-0912.p.rapidapi.com/api/echo"
|
| 15 |
+
querystring = {}
|
| 16 |
+
if message:
|
| 17 |
+
querystring['message'] = message
|
| 18 |
+
|
| 19 |
+
headers = {
|
| 20 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 21 |
+
"X-RapidAPI-Host": "api-test-0912.p.rapidapi.com"
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 26 |
+
try:
|
| 27 |
+
observation = response.json()
|
| 28 |
+
except:
|
| 29 |
+
observation = response.text
|
| 30 |
+
return observation
|
| 31 |
+
|
toolbench/toolenv/tools/Advertising/apilocal.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"product_id": "api_bc178848-bdf7-445e-ad42-a6333472b1bc",
|
| 3 |
+
"tool_description": "321",
|
| 4 |
+
"home_url": "https://rapidapi.com/nguyenthanhluan0317/api/apilocal/",
|
| 5 |
+
"name": "APILocal",
|
| 6 |
+
"title": "APILocal",
|
| 7 |
+
"pricing": "FREE",
|
| 8 |
+
"tool_name": "APILocal",
|
| 9 |
+
"score": null,
|
| 10 |
+
"host": "apilocal.p.rapidapi.com",
|
| 11 |
+
"api_list": [
|
| 12 |
+
{
|
| 13 |
+
"name": "httpPhapdienapiComVnApiListDataMobileGetDsChuDe",
|
| 14 |
+
"url": "https://apilocal.p.rapidapi.com/api/ListDataMobile/GetDSChuDe",
|
| 15 |
+
"description": " ",
|
| 16 |
+
"method": "POST",
|
| 17 |
+
"required_parameters": [],
|
| 18 |
+
"optional_parameters": [],
|
| 19 |
+
"code": "import requests\n\nurl = \"https://apilocal.p.rapidapi.com/api/ListDataMobile/GetDSChuDe\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"apilocal.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 20 |
+
"convert_code": "import requests\n\nurl = \"https://apilocal.p.rapidapi.com/api/ListDataMobile/GetDSChuDe\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"apilocal.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 21 |
+
"test_endpoint": "",
|
| 22 |
+
"statuscode": 200,
|
| 23 |
+
"schema": {
|
| 24 |
+
"type": "object",
|
| 25 |
+
"properties": {
|
| 26 |
+
"get": {
|
| 27 |
+
"type": "string"
|
| 28 |
+
},
|
| 29 |
+
"parameters": {
|
| 30 |
+
"type": "array"
|
| 31 |
+
},
|
| 32 |
+
"errors": {
|
| 33 |
+
"type": "array"
|
| 34 |
+
},
|
| 35 |
+
"results": {
|
| 36 |
+
"type": "integer"
|
| 37 |
+
},
|
| 38 |
+
"response": {
|
| 39 |
+
"type": "array",
|
| 40 |
+
"items": {
|
| 41 |
+
"type": "object"
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
]
|
| 48 |
+
}
|
toolbench/toolenv/tools/Advertising/apitest2605.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"Apitest2605",
|
| 3 |
+
"tool_description":"test",
|
| 4 |
+
"title":"Apitest2605",
|
| 5 |
+
"pricing":"FREE",
|
| 6 |
+
"score":null,
|
| 7 |
+
"home_url":"https://rapidapi.com/ElenaTest/api/apitest2605/",
|
| 8 |
+
"host":"apitest2605.p.rapidapi.com",
|
| 9 |
+
"api_list":[
|
| 10 |
+
{
|
| 11 |
+
"name":"Get user",
|
| 12 |
+
"url":"https://apitest2605.p.rapidapi.com/",
|
| 13 |
+
"description":"Get user by ID",
|
| 14 |
+
"method":"GET",
|
| 15 |
+
"required_parameters":[],
|
| 16 |
+
"optional_parameters":[],
|
| 17 |
+
"code":"import requests\n\nurl = \"https://apitest2605.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"apitest2605.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n",
|
| 18 |
+
"statuscode":111,
|
| 19 |
+
"body":"",
|
| 20 |
+
"headers":"",
|
| 21 |
+
"schema":""
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
toolbench/toolenv/tools/Advertising/apitest2605/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def get_user(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"Get user by ID"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://apitest2605.p.rapidapi.com/"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "apitest2605.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/as.json
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"product_id": "api_e2ffee73-f3fc-48f0-9d8a-2a45c07dde04",
|
| 3 |
+
"tool_description": "s",
|
| 4 |
+
"home_url": "https://rapidapi.com/tata.carter.liu/api/as6/",
|
| 5 |
+
"name": "as",
|
| 6 |
+
"title": "as",
|
| 7 |
+
"pricing": "FREE",
|
| 8 |
+
"tool_name": "as",
|
| 9 |
+
"score": null,
|
| 10 |
+
"host": "as6.p.rapidapi.com",
|
| 11 |
+
"api_list": [
|
| 12 |
+
{
|
| 13 |
+
"name": "/customers/{customerId}/orders/{productId}/numbers/port",
|
| 14 |
+
"url": "https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/port",
|
| 15 |
+
"description": "<p>Allows you to port a quantity of your phone numbers into the specified product.</p><p>Use this to port one/more of your phone numbers into the specified product.</p><p>Make a new request if you wish to vary the elements of the order, and use the requestId field to correlate multiple orders together.</p>",
|
| 16 |
+
"method": "POST",
|
| 17 |
+
"required_parameters": [
|
| 18 |
+
{
|
| 19 |
+
"name": "customerId",
|
| 20 |
+
"type": "STRING",
|
| 21 |
+
"description": "The id of the customer object of your account",
|
| 22 |
+
"default": ""
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"name": "productId",
|
| 26 |
+
"type": "STRING",
|
| 27 |
+
"description": "The id of the product this order is for",
|
| 28 |
+
"default": ""
|
| 29 |
+
}
|
| 30 |
+
],
|
| 31 |
+
"optional_parameters": [],
|
| 32 |
+
"code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/port\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 33 |
+
"convert_code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/port\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 34 |
+
"test_endpoint": "",
|
| 35 |
+
"statuscode": 1,
|
| 36 |
+
"schema": ""
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"name": "/customers/{customerId}/orders/{productId}/numbers/change",
|
| 40 |
+
"url": "https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/change",
|
| 41 |
+
"description": "<p>Allows you to order to modify the numbers listed, only numbers within the country given.</p><p>Use this to change one/more phone numbers of the specified product.</p><p>Make a new request if you wish to vary the elements of the order, and use the requestId field to correlate multiple orders together.</p>",
|
| 42 |
+
"method": "POST",
|
| 43 |
+
"required_parameters": [
|
| 44 |
+
{
|
| 45 |
+
"name": "customerId",
|
| 46 |
+
"type": "STRING",
|
| 47 |
+
"description": "The id of the customer object of your account",
|
| 48 |
+
"default": ""
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"name": "productId",
|
| 52 |
+
"type": "STRING",
|
| 53 |
+
"description": "The id of the product this order is for",
|
| 54 |
+
"default": ""
|
| 55 |
+
}
|
| 56 |
+
],
|
| 57 |
+
"optional_parameters": [],
|
| 58 |
+
"code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/change\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 59 |
+
"convert_code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/change\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 60 |
+
"test_endpoint": "",
|
| 61 |
+
"statuscode": 1,
|
| 62 |
+
"schema": ""
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"name": "/customers/{customerId}/orders/{productId}/numbers/move",
|
| 66 |
+
"url": "https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/move",
|
| 67 |
+
"description": "<p>Allows you to order to move the numbers listed to a different location within the same country.</p><p>Use this to move one/more phone numbers of the specified product.</p><p>Make a new request if you wish to vary the elements of the order, and use the requestId field to correlate multiple orders together.</p>",
|
| 68 |
+
"method": "POST",
|
| 69 |
+
"required_parameters": [
|
| 70 |
+
{
|
| 71 |
+
"name": "customerId",
|
| 72 |
+
"type": "STRING",
|
| 73 |
+
"description": "The id of the customer object of your account",
|
| 74 |
+
"default": ""
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"name": "productId",
|
| 78 |
+
"type": "STRING",
|
| 79 |
+
"description": "The id of the product this order is for",
|
| 80 |
+
"default": ""
|
| 81 |
+
}
|
| 82 |
+
],
|
| 83 |
+
"optional_parameters": [],
|
| 84 |
+
"code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/move\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 85 |
+
"convert_code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/move\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 86 |
+
"test_endpoint": "",
|
| 87 |
+
"statuscode": 1,
|
| 88 |
+
"schema": ""
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": "/customers/{customerId}/orders/{productId}/numbers/delete",
|
| 92 |
+
"url": "https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/delete",
|
| 93 |
+
"description": "<p>Allows you to order toremove the numbers listed from the customer inventory, only numbers within the country given.</p><p>Make a new request if you wish to vary the elements of the order, and use the requestId field to correlate multiple orders together.</p>",
|
| 94 |
+
"method": "POST",
|
| 95 |
+
"required_parameters": [
|
| 96 |
+
{
|
| 97 |
+
"name": "productId",
|
| 98 |
+
"type": "STRING",
|
| 99 |
+
"description": "The id of the product this order is for",
|
| 100 |
+
"default": ""
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"name": "customerId",
|
| 104 |
+
"type": "STRING",
|
| 105 |
+
"description": "The id of the customer object of your account",
|
| 106 |
+
"default": ""
|
| 107 |
+
}
|
| 108 |
+
],
|
| 109 |
+
"optional_parameters": [],
|
| 110 |
+
"code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/delete\"\nquerystring = {\"productId\": \"\", \"customerId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 111 |
+
"convert_code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/delete\"\nquerystring = {\"productId\": \"\", \"customerId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 112 |
+
"test_endpoint": "",
|
| 113 |
+
"statuscode": 1,
|
| 114 |
+
"schema": ""
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"name": "/customers/{customerId}/orders/{productId}/numbers/range",
|
| 118 |
+
"url": "https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/range",
|
| 119 |
+
"description": "<p>Allows you to order a quantity of phone numbers of the specified product and in a specified range.</p><p>Use this to order one/more phone numbers of the specified product, where the system will pick matching numbers from a numbers range you give.</p><p>Make a new request if you wish to vary the elements of the order, and use the requestId field to correlate multiple orders together.</p>",
|
| 120 |
+
"method": "POST",
|
| 121 |
+
"required_parameters": [
|
| 122 |
+
{
|
| 123 |
+
"name": "customerId",
|
| 124 |
+
"type": "STRING",
|
| 125 |
+
"description": "The id of the customer object of your account",
|
| 126 |
+
"default": ""
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": "productId",
|
| 130 |
+
"type": "STRING",
|
| 131 |
+
"description": "The id of the product this order is for",
|
| 132 |
+
"default": ""
|
| 133 |
+
}
|
| 134 |
+
],
|
| 135 |
+
"optional_parameters": [],
|
| 136 |
+
"code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/range\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 137 |
+
"convert_code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/range\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 138 |
+
"test_endpoint": "",
|
| 139 |
+
"statuscode": 1,
|
| 140 |
+
"schema": ""
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"name": "/customers/{customerId}/orders/{productId}/numbers/any",
|
| 144 |
+
"url": "https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/any",
|
| 145 |
+
"description": "<p>Allows you to order a quantity of phone numbers of the specified product and let the system choose the numbers.</p><p>Use this to order one/more phone numbers of the specified product, where the system will pick the first available matches.</p><p>Make a new request if you wish to vary the elements of the order, and use the requestId field to correlate multiple orders together.</p>",
|
| 146 |
+
"method": "POST",
|
| 147 |
+
"required_parameters": [
|
| 148 |
+
{
|
| 149 |
+
"name": "customerId",
|
| 150 |
+
"type": "STRING",
|
| 151 |
+
"description": "The id of the customer object of your account",
|
| 152 |
+
"default": ""
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"name": "productId",
|
| 156 |
+
"type": "STRING",
|
| 157 |
+
"description": "The id of the product this order is for",
|
| 158 |
+
"default": ""
|
| 159 |
+
}
|
| 160 |
+
],
|
| 161 |
+
"optional_parameters": [],
|
| 162 |
+
"code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/any\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 163 |
+
"convert_code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/any\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 164 |
+
"test_endpoint": "",
|
| 165 |
+
"statuscode": 1,
|
| 166 |
+
"schema": ""
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "/customers/{customerId}/orders/{productId}/delete",
|
| 170 |
+
"url": "https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/delete",
|
| 171 |
+
"description": "<p>Allows you to order to remove every number of this product customer inventory, only numbers within the country given.</p><p>Make a new request if you wish to vary the elements of the order, and use the requestId field to correlate multiple orders together.</p>",
|
| 172 |
+
"method": "POST",
|
| 173 |
+
"required_parameters": [
|
| 174 |
+
{
|
| 175 |
+
"name": "customerId",
|
| 176 |
+
"type": "STRING",
|
| 177 |
+
"description": "The id of the customer object of your account",
|
| 178 |
+
"default": ""
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "productId",
|
| 182 |
+
"type": "STRING",
|
| 183 |
+
"description": "The id of the product this order is for",
|
| 184 |
+
"default": ""
|
| 185 |
+
}
|
| 186 |
+
],
|
| 187 |
+
"optional_parameters": [],
|
| 188 |
+
"code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/delete\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 189 |
+
"convert_code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/delete\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 190 |
+
"test_endpoint": "",
|
| 191 |
+
"statuscode": 1,
|
| 192 |
+
"schema": ""
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"name": "/customers/{customerId}/orders/{productId}/numbers/reserve",
|
| 196 |
+
"url": "https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/reserve",
|
| 197 |
+
"description": "<p>Allows you to order a quantity of phone numbers of the specified product, numbers that you have already reserved with the system.</p><p>Use this to order numbers that you previously searched for in our inventory and successfully reserved.</p><p>Use the requestId field to correlate multiple orders together.</p>",
|
| 198 |
+
"method": "POST",
|
| 199 |
+
"required_parameters": [
|
| 200 |
+
{
|
| 201 |
+
"name": "customerId",
|
| 202 |
+
"type": "STRING",
|
| 203 |
+
"description": "The id of the customer object of your account",
|
| 204 |
+
"default": ""
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"name": "productId",
|
| 208 |
+
"type": "STRING",
|
| 209 |
+
"description": "The id of the product this order is for",
|
| 210 |
+
"default": ""
|
| 211 |
+
}
|
| 212 |
+
],
|
| 213 |
+
"optional_parameters": [],
|
| 214 |
+
"code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/reserve\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 215 |
+
"convert_code": "import requests\n\nurl = \"https://as6.p.rapidapi.com/customers/{customerId}/orders/{productId}/numbers/reserve\"\nquerystring = {\"customerId\": \"\", \"productId\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"as6.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 216 |
+
"test_endpoint": "",
|
| 217 |
+
"statuscode": 1,
|
| 218 |
+
"schema": ""
|
| 219 |
+
}
|
| 220 |
+
]
|
| 221 |
+
}
|
toolbench/toolenv/tools/Advertising/as/api.py
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def customers_customerid_orders(customerid: str, productid: str=None, countrycode: str=None, connectiontype: str=None, status: str=None, requestid: str=None, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"<p>Returns a list of all your orders.</p><p>Use this to see all orders you have ever placed with the system. Orders in all states will be shown, including canceled orders.</p><p>This command allows you to search the list of orders by various filter parameters.</p>"
|
| 12 |
+
customerid: The id of the customer object of your account
|
| 13 |
+
productid: Optionally filter order results by the product type. Acceptable values list
|
| 14 |
+
countrycode: An ISO Alpha2 or ISO Alpha3 country code by which to filter results
|
| 15 |
+
connectiontype: Optionally filter order results by the connection type in use. Acceptable values list = [pstn, direct]
|
| 16 |
+
status: Optionally filter order results by the status; accepted values
|
| 17 |
+
requestid: Any value meaningful to you that correlated orders together
|
| 18 |
+
|
| 19 |
+
"""
|
| 20 |
+
url = f"https://as6.p.rapidapi.com/customers/{customerid}/orders"
|
| 21 |
+
querystring = {}
|
| 22 |
+
if productid:
|
| 23 |
+
querystring['productId'] = productid
|
| 24 |
+
if countrycode:
|
| 25 |
+
querystring['countryCode'] = countrycode
|
| 26 |
+
if connectiontype:
|
| 27 |
+
querystring['connectionType'] = connectiontype
|
| 28 |
+
if status:
|
| 29 |
+
querystring['status'] = status
|
| 30 |
+
if requestid:
|
| 31 |
+
querystring['requestId'] = requestid
|
| 32 |
+
|
| 33 |
+
headers = {
|
| 34 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 35 |
+
"X-RapidAPI-Host": "as6.p.rapidapi.com"
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 40 |
+
try:
|
| 41 |
+
observation = response.json()
|
| 42 |
+
except:
|
| 43 |
+
observation = response.text
|
| 44 |
+
return observation
|
| 45 |
+
|
| 46 |
+
def customers_customerid_orders_orderid(orderid: str, customerid: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 47 |
+
"""
|
| 48 |
+
"<p>Returns a specific order, identified by its id.</p><p>Use this to see a specific order you have placed with the system.</p>"
|
| 49 |
+
orderid: The id of the order
|
| 50 |
+
customerid: The id of the customer object of your account
|
| 51 |
+
|
| 52 |
+
"""
|
| 53 |
+
url = f"https://as6.p.rapidapi.com/customers/{customerid}/orders/{orderid}"
|
| 54 |
+
querystring = {}
|
| 55 |
+
|
| 56 |
+
headers = {
|
| 57 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 58 |
+
"X-RapidAPI-Host": "as6.p.rapidapi.com"
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 63 |
+
try:
|
| 64 |
+
observation = response.json()
|
| 65 |
+
except:
|
| 66 |
+
observation = response.text
|
| 67 |
+
return observation
|
| 68 |
+
|
toolbench/toolenv/tools/Advertising/asd.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"product_id": "api_b576a64e-77e9-437b-8e5b-37c4567852a5",
|
| 3 |
+
"tool_description": "user url endpoint",
|
| 4 |
+
"home_url": "https://rapidapi.com/bowievillasenor/api/asd20/",
|
| 5 |
+
"name": "asd",
|
| 6 |
+
"title": "asd",
|
| 7 |
+
"pricing": "FREE",
|
| 8 |
+
"tool_name": "asd",
|
| 9 |
+
"score": {
|
| 10 |
+
"avgServiceLevel": 0,
|
| 11 |
+
"avgLatency": 0,
|
| 12 |
+
"avgSuccessRate": 0,
|
| 13 |
+
"popularityScore": 0.2,
|
| 14 |
+
"__typename": "Score"
|
| 15 |
+
},
|
| 16 |
+
"host": "asd20.p.rapidapi.com",
|
| 17 |
+
"api_list": [
|
| 18 |
+
{
|
| 19 |
+
"name": "user endpoint",
|
| 20 |
+
"url": "https://asd20.p.rapidapi.com/users",
|
| 21 |
+
"description": "user",
|
| 22 |
+
"method": "GET",
|
| 23 |
+
"required_parameters": [],
|
| 24 |
+
"optional_parameters": [
|
| 25 |
+
{
|
| 26 |
+
"name": "id",
|
| 27 |
+
"type": "STRING",
|
| 28 |
+
"description": "",
|
| 29 |
+
"default": "1"
|
| 30 |
+
}
|
| 31 |
+
],
|
| 32 |
+
"code": "import requests\n\nurl = \"https://asd20.p.rapidapi.com/users\"\nquerystring = {\"id\": \"1\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"asd20.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 33 |
+
"convert_code": "import requests\n\nurl = \"https://asd20.p.rapidapi.com/users\"\nquerystring = {\"id\": \"1\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"asd20.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 34 |
+
"test_endpoint": ""
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": "post user",
|
| 38 |
+
"url": "https://asd20.p.rapidapi.com/users",
|
| 39 |
+
"description": "user",
|
| 40 |
+
"method": "POST",
|
| 41 |
+
"required_parameters": [],
|
| 42 |
+
"optional_parameters": [
|
| 43 |
+
{
|
| 44 |
+
"name": "password",
|
| 45 |
+
"type": "STRING",
|
| 46 |
+
"description": "",
|
| 47 |
+
"default": "Text"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": "user_id",
|
| 51 |
+
"type": "STRING",
|
| 52 |
+
"description": "",
|
| 53 |
+
"default": "Text"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"name": "user_name",
|
| 57 |
+
"type": "STRING",
|
| 58 |
+
"description": "",
|
| 59 |
+
"default": "Text"
|
| 60 |
+
}
|
| 61 |
+
],
|
| 62 |
+
"code": "import requests\n\nurl = \"https://asd20.p.rapidapi.com/users\"\nquerystring = {\"password\": \"Text\", \"user_id\": \"Text\", \"user_name\": \"Text\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"asd20.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 63 |
+
"convert_code": "import requests\n\nurl = \"https://asd20.p.rapidapi.com/users\"\nquerystring = {\"password\": \"Text\", \"user_id\": \"Text\", \"user_name\": \"Text\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"asd20.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
|
| 64 |
+
"test_endpoint": ""
|
| 65 |
+
}
|
| 66 |
+
],
|
| 67 |
+
"standardized_name": "asd"
|
| 68 |
+
}
|
toolbench/toolenv/tools/Advertising/asd/api.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def user_endpoint(is_id: str='1', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"user"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://asd20.p.rapidapi.com/users"
|
| 15 |
+
querystring = {}
|
| 16 |
+
if is_id:
|
| 17 |
+
querystring['id'] = is_id
|
| 18 |
+
|
| 19 |
+
headers = {
|
| 20 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 21 |
+
"X-RapidAPI-Host": "asd20.p.rapidapi.com"
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 26 |
+
try:
|
| 27 |
+
observation = response.json()
|
| 28 |
+
except:
|
| 29 |
+
observation = response.text
|
| 30 |
+
return observation
|
| 31 |
+
|
toolbench/toolenv/tools/Advertising/asd_v2/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def asdendpoint(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"desc"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://asd69.p.rapidapi.com/asd"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "asd69.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/asdfadsf.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
toolbench/toolenv/tools/Advertising/asdfadsf/api.py
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def get_products_in_category(limit: int, skip: int, category: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
" "
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://asdfadsf3.p.rapidapi.com/catalog/category/{category}/products"
|
| 15 |
+
querystring = {'limit': limit, 'skip': skip, }
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "asdfadsf3.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
| 30 |
+
def get_order(is_id: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 31 |
+
"""
|
| 32 |
+
" "
|
| 33 |
+
|
| 34 |
+
"""
|
| 35 |
+
url = f"https://asdfadsf3.p.rapidapi.com/order/{is_id}"
|
| 36 |
+
querystring = {}
|
| 37 |
+
|
| 38 |
+
headers = {
|
| 39 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 40 |
+
"X-RapidAPI-Host": "asdfadsf3.p.rapidapi.com"
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 45 |
+
try:
|
| 46 |
+
observation = response.json()
|
| 47 |
+
except:
|
| 48 |
+
observation = response.text
|
| 49 |
+
return observation
|
| 50 |
+
|
| 51 |
+
def get_products(skip: int, limit: int, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 52 |
+
"""
|
| 53 |
+
" "
|
| 54 |
+
|
| 55 |
+
"""
|
| 56 |
+
url = f"https://asdfadsf3.p.rapidapi.com/catalog/products"
|
| 57 |
+
querystring = {'skip': skip, 'limit': limit, }
|
| 58 |
+
|
| 59 |
+
headers = {
|
| 60 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 61 |
+
"X-RapidAPI-Host": "asdfadsf3.p.rapidapi.com"
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 66 |
+
try:
|
| 67 |
+
observation = response.json()
|
| 68 |
+
except:
|
| 69 |
+
observation = response.text
|
| 70 |
+
return observation
|
| 71 |
+
|
| 72 |
+
def get_categories(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 73 |
+
"""
|
| 74 |
+
" "
|
| 75 |
+
|
| 76 |
+
"""
|
| 77 |
+
url = f"https://asdfadsf3.p.rapidapi.com/catalog/categories"
|
| 78 |
+
querystring = {}
|
| 79 |
+
|
| 80 |
+
headers = {
|
| 81 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 82 |
+
"X-RapidAPI-Host": "asdfadsf3.p.rapidapi.com"
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 87 |
+
try:
|
| 88 |
+
observation = response.json()
|
| 89 |
+
except:
|
| 90 |
+
observation = response.text
|
| 91 |
+
return observation
|
| 92 |
+
|
| 93 |
+
def get_product(is_id: int, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 94 |
+
"""
|
| 95 |
+
" "
|
| 96 |
+
|
| 97 |
+
"""
|
| 98 |
+
url = f"https://asdfadsf3.p.rapidapi.com/catalog/product/{is_id}"
|
| 99 |
+
querystring = {}
|
| 100 |
+
|
| 101 |
+
headers = {
|
| 102 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 103 |
+
"X-RapidAPI-Host": "asdfadsf3.p.rapidapi.com"
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 108 |
+
try:
|
| 109 |
+
observation = response.json()
|
| 110 |
+
except:
|
| 111 |
+
observation = response.text
|
| 112 |
+
return observation
|
| 113 |
+
|
toolbench/toolenv/tools/Advertising/association.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"product_id": "api_88fa439b-adfd-4054-aaaa-b7283f667959",
|
| 3 |
+
"tool_description": "association game",
|
| 4 |
+
"home_url": "https://rapidapi.com/cawa.sapog/api/association/",
|
| 5 |
+
"name": "association",
|
| 6 |
+
"title": "association",
|
| 7 |
+
"pricing": "FREE",
|
| 8 |
+
"tool_name": "association",
|
| 9 |
+
"score": null,
|
| 10 |
+
"host": "association.p.rapidapi.com",
|
| 11 |
+
"api_list": [
|
| 12 |
+
{
|
| 13 |
+
"name": "beta",
|
| 14 |
+
"url": "https://association.p.rapidapi.com/",
|
| 15 |
+
"description": "dsad",
|
| 16 |
+
"method": "POST",
|
| 17 |
+
"required_parameters": [],
|
| 18 |
+
"optional_parameters": [],
|
| 19 |
+
"code": "import requests\n\nurl = \"https://association.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"association.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 20 |
+
"convert_code": "import requests\n\nurl = \"https://association.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"association.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 21 |
+
"test_endpoint": ""
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
toolbench/toolenv/tools/Advertising/atomic_sms_sender.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"Atomic SMS Sender",
|
| 3 |
+
"tool_description":"Atom Park SMS Gateway API provides a seamless and effective experience and service by integrating with SMS API solution to provide a means of communication between your SMS gateway and your service thus allowing you to send and receive bulk text messages and check delivery status and reports.",
|
| 4 |
+
"title":"Atomic SMS Sender",
|
| 5 |
+
"pricing":"FREE",
|
| 6 |
+
"score":{
|
| 7 |
+
"avgServiceLevel":100,
|
| 8 |
+
"avgLatency":242,
|
| 9 |
+
"avgSuccessRate":100,
|
| 10 |
+
"popularityScore":8.8,
|
| 11 |
+
"__typename":"Score"
|
| 12 |
+
},
|
| 13 |
+
"home_url":"https://rapidapi.com/Vlad42/api/atomic-sms-sender/",
|
| 14 |
+
"host":"vlad42-atomic-sms-sender-v1.p.rapidapi.com",
|
| 15 |
+
"api_list":[
|
| 16 |
+
{
|
| 17 |
+
"name":"Send Message",
|
| 18 |
+
"url":"https://vlad42-atomic-sms-sender-v1.p.rapidapi.com//www.atompark.com/bulk-sms-service/smsapiv3/",
|
| 19 |
+
"description":"",
|
| 20 |
+
"method":"GET",
|
| 21 |
+
"required_parameters":[],
|
| 22 |
+
"optional_parameters":[],
|
| 23 |
+
"code":"import requests\n\nurl = \"https://vlad42-atomic-sms-sender-v1.p.rapidapi.com//www.atompark.com/bulk-sms-service/smsapiv3/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"vlad42-atomic-sms-sender-v1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n",
|
| 24 |
+
"statuscode":111,
|
| 25 |
+
"body":"",
|
| 26 |
+
"headers":"",
|
| 27 |
+
"schema":""
|
| 28 |
+
}
|
| 29 |
+
]
|
| 30 |
+
}
|
toolbench/toolenv/tools/Advertising/atomic_sms_sender/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def send_message(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
""
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://vlad42-atomic-sms-sender-v1.p.rapidapi.com//www.atompark.com/bulk-sms-service/smsapiv3/"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "vlad42-atomic-sms-sender-v1.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/auditsnotshowing.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"AuditsNotShowing",
|
| 3 |
+
"tool_description":"audit logs update",
|
| 4 |
+
"title":"AuditsNotShowing",
|
| 5 |
+
"pricing":"FREE",
|
| 6 |
+
"score":null,
|
| 7 |
+
"home_url":"https://rapidapi.com/this-is-an-org-default/api/auditsnotshowing/",
|
| 8 |
+
"host":"auditsnotshowing.p.rapidapi.com",
|
| 9 |
+
"api_list":[
|
| 10 |
+
{
|
| 11 |
+
"name":"ep1",
|
| 12 |
+
"url":"https://auditsnotshowing.p.rapidapi.com/",
|
| 13 |
+
"description":"this is ep1",
|
| 14 |
+
"method":"GET",
|
| 15 |
+
"required_parameters":[],
|
| 16 |
+
"optional_parameters":[],
|
| 17 |
+
"code":"import requests\n\nurl = \"https://auditsnotshowing.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"auditsnotshowing.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n",
|
| 18 |
+
"statuscode":111,
|
| 19 |
+
"body":"",
|
| 20 |
+
"headers":"",
|
| 21 |
+
"schema":""
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
toolbench/toolenv/tools/Advertising/auditsnotshowing/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def ep1(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"this is ep1"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://auditsnotshowing.p.rapidapi.com/"
|
| 15 |
+
querystring = {}
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "auditsnotshowing.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/autosub.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name":"Autosub",
|
| 3 |
+
"tool_description":"Auto sub",
|
| 4 |
+
"title":"Autosub",
|
| 5 |
+
"pricing":"FREE",
|
| 6 |
+
"score":{
|
| 7 |
+
"avgServiceLevel":100,
|
| 8 |
+
"avgLatency":999,
|
| 9 |
+
"avgSuccessRate":100,
|
| 10 |
+
"popularityScore":8.4,
|
| 11 |
+
"__typename":"Score"
|
| 12 |
+
},
|
| 13 |
+
"home_url":"https://rapidapi.com/antonyrapid/api/autosub/",
|
| 14 |
+
"host":"autosub.p.rapidapi.com",
|
| 15 |
+
"api_list":[
|
| 16 |
+
{
|
| 17 |
+
"name":"brotli",
|
| 18 |
+
"url":"https://autosub.p.rapidapi.com/get",
|
| 19 |
+
"description":"testing auto subscription",
|
| 20 |
+
"method":"GET",
|
| 21 |
+
"required_parameters":[
|
| 22 |
+
{
|
| 23 |
+
"name":"Host",
|
| 24 |
+
"type":"STRING",
|
| 25 |
+
"description":"",
|
| 26 |
+
"default":"test"
|
| 27 |
+
}
|
| 28 |
+
],
|
| 29 |
+
"optional_parameters":[],
|
| 30 |
+
"code":"import requests\n\nurl = \"https://autosub.p.rapidapi.com/get\"\nquerystring = {\"Host\": host}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"autosub.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
|
| 31 |
+
"statuscode":111,
|
| 32 |
+
"body":"",
|
| 33 |
+
"headers":"",
|
| 34 |
+
"schema":""
|
| 35 |
+
}
|
| 36 |
+
]
|
| 37 |
+
}
|
toolbench/toolenv/tools/Advertising/autosub/api.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def brotli(host: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"testing auto subscription"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://autosub.p.rapidapi.com/get"
|
| 15 |
+
querystring = {'Host': host, }
|
| 16 |
+
|
| 17 |
+
headers = {
|
| 18 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 19 |
+
"X-RapidAPI-Host": "autosub.p.rapidapi.com"
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 24 |
+
try:
|
| 25 |
+
observation = response.json()
|
| 26 |
+
except:
|
| 27 |
+
observation = response.text
|
| 28 |
+
return observation
|
| 29 |
+
|
toolbench/toolenv/tools/Advertising/bbb.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"product_id": "api_51416bd0-252a-4122-8f6d-207338a02fa4",
|
| 3 |
+
"tool_description": "b",
|
| 4 |
+
"home_url": "https://rapidapi.com/irie_pt/api/bbb12/",
|
| 5 |
+
"name": "BBB",
|
| 6 |
+
"title": "BBB",
|
| 7 |
+
"pricing": "FREEMIUM",
|
| 8 |
+
"tool_name": "BBB",
|
| 9 |
+
"score": null,
|
| 10 |
+
"host": "bbb12.p.rapidapi.com",
|
| 11 |
+
"api_list": [
|
| 12 |
+
{
|
| 13 |
+
"name": "test_2",
|
| 14 |
+
"url": "https://bbb12.p.rapidapi.com/",
|
| 15 |
+
"description": "test_2",
|
| 16 |
+
"method": "POST",
|
| 17 |
+
"required_parameters": [],
|
| 18 |
+
"optional_parameters": [],
|
| 19 |
+
"code": "import requests\n\nurl = \"https://bbb12.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"bbb12.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 20 |
+
"convert_code": "import requests\n\nurl = \"https://bbb12.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"bbb12.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 21 |
+
"test_endpoint": ""
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
toolbench/toolenv/tools/Advertising/bbb/api.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import json
|
| 3 |
+
from datetime import date, datetime, timedelta
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
from typing import Optional, Dict, Union, List
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def end(res: str='test', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
|
| 10 |
+
"""
|
| 11 |
+
"point"
|
| 12 |
+
|
| 13 |
+
"""
|
| 14 |
+
url = f"https://bbb12.p.rapidapi.com/"
|
| 15 |
+
querystring = {}
|
| 16 |
+
if res:
|
| 17 |
+
querystring['res'] = res
|
| 18 |
+
|
| 19 |
+
headers = {
|
| 20 |
+
"X-RapidAPI-Key": toolbench_rapidapi_key,
|
| 21 |
+
"X-RapidAPI-Host": "bbb12.p.rapidapi.com"
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
response = requests.get(url, headers=headers, params=querystring)
|
| 26 |
+
try:
|
| 27 |
+
observation = response.json()
|
| 28 |
+
except:
|
| 29 |
+
observation = response.text
|
| 30 |
+
return observation
|
| 31 |
+
|
toolbench/toolenv/tools/Advertising/bhrp.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"product_id": "api_ecaeb152-5870-409f-a0e2-755a65cd332c",
|
| 3 |
+
"tool_description": "blockchain house rental platform https://bhrp.vercel.app/",
|
| 4 |
+
"home_url": "https://rapidapi.com/JohnChen2022/api/bhrp/",
|
| 5 |
+
"name": "BHRP",
|
| 6 |
+
"title": "BHRP",
|
| 7 |
+
"pricing": "FREE",
|
| 8 |
+
"tool_name": "BHRP",
|
| 9 |
+
"score": null,
|
| 10 |
+
"host": "bhrp.p.rapidapi.com",
|
| 11 |
+
"api_list": [
|
| 12 |
+
{
|
| 13 |
+
"name": "/house/add",
|
| 14 |
+
"url": "https://bhrp.p.rapidapi.com/house/add",
|
| 15 |
+
"description": "a landlord add a house for rental with his/her wallet.",
|
| 16 |
+
"method": "POST",
|
| 17 |
+
"required_parameters": [],
|
| 18 |
+
"optional_parameters": [],
|
| 19 |
+
"code": "import requests\n\nurl = \"https://bhrp.p.rapidapi.com/house/add\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"bhrp.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 20 |
+
"convert_code": "import requests\n\nurl = \"https://bhrp.p.rapidapi.com/house/add\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"bhrp.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 21 |
+
"test_endpoint": "",
|
| 22 |
+
"statuscode": 200,
|
| 23 |
+
"schema": {}
|
| 24 |
+
}
|
| 25 |
+
]
|
| 26 |
+
}
|
toolbench/toolenv/tools/Advertising/bing_keyword_planner.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool_name": "Bing Keyword Planner",
|
| 3 |
+
"tool_description": "Get all the data from Bing Keyword Planner (Bing Keyword Research Tool). Get access to search volume, monthly searches, competition, and other related data.",
|
| 4 |
+
"title": "Bing Keyword Planner",
|
| 5 |
+
"pricing": "FREEMIUM",
|
| 6 |
+
"score": null,
|
| 7 |
+
"home_url": "https://rapidapi.com/microbrands/api/bing-keyword-planner/",
|
| 8 |
+
"host": "bing-keyword-planner.p.rapidapi.com",
|
| 9 |
+
"api_list": [
|
| 10 |
+
{
|
| 11 |
+
"name": "URL Seed",
|
| 12 |
+
"url": "https://bing-keyword-planner.p.rapidapi.com/urlseed",
|
| 13 |
+
"description": "Based on your provided keywords, this endpoint will return up to 3000 suitable keyword recommendations. Set up to 200 keywords and obtain the results that Bing Ads suggests for your query. Using this tool, you may obtain up to 3000 keyword ideas.",
|
| 14 |
+
"method": "GET",
|
| 15 |
+
"required_parameters": [
|
| 16 |
+
{
|
| 17 |
+
"name": "target_domain",
|
| 18 |
+
"type": "STRING",
|
| 19 |
+
"description": "The domain name of the target website.",
|
| 20 |
+
"default": "chewy.com"
|
| 21 |
+
}
|
| 22 |
+
],
|
| 23 |
+
"optional_parameters": [
|
| 24 |
+
{
|
| 25 |
+
"name": "location_name",
|
| 26 |
+
"type": "STRING",
|
| 27 |
+
"description": "Name of location.\n\nCan be a Country, Region or City. \n\nExamples: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"United States\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Germany\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"London,England,United Kingdom\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"",
|
| 28 |
+
"default": "United States"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"name": "device",
|
| 32 |
+
"type": "STRING",
|
| 33 |
+
"description": "Limits data for a particular device type.\n\nPossible values: *all*, *mobile*, *desktop*, *tablet*\nDefault value: *all*",
|
| 34 |
+
"default": "all"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": "language_name",
|
| 38 |
+
"type": "STRING",
|
| 39 |
+
"description": "Name of language.\n\nExamples: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"English\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"German\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Spanish\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"",
|
| 40 |
+
"default": "English"
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"code": "import requests\n\nurl = \"https://bing-keyword-planner.p.rapidapi.com/urlseed\"\nquerystring = {\"location_name\": location_name, \"device\": device, \"target_domain\": target_domain, \"language_name\": language_name}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"bing-keyword-planner.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
|
| 44 |
+
"statuscode": 111,
|
| 45 |
+
"body": "",
|
| 46 |
+
"headers": "",
|
| 47 |
+
"schema": ""
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": "Search Volume",
|
| 51 |
+
"url": "https://bing-keyword-planner.p.rapidapi.com/searchvolume",
|
| 52 |
+
"description": "This endpoint will return search volume data for your input keywords. Set up to 200 keywords and get the results.",
|
| 53 |
+
"method": "POST",
|
| 54 |
+
"required_parameters": [],
|
| 55 |
+
"optional_parameters": [],
|
| 56 |
+
"code": "import requests\n\nurl = \"https://bing-keyword-planner.p.rapidapi.com/searchvolume\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"bing-keyword-planner.p.rapidapi.com\"\n}\n\nresponse = requests.post(url, headers=headers)\n\nprint(response.json())\n",
|
| 57 |
+
"statuscode": 111,
|
| 58 |
+
"body": "",
|
| 59 |
+
"headers": "",
|
| 60 |
+
"schema": ""
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": "Keyword Ideas",
|
| 64 |
+
"url": "https://bing-keyword-planner.p.rapidapi.com/keywordideas",
|
| 65 |
+
"description": "Based on your provided keywords, this endpoint will return up to 3000 suitable keyword recommendations. Set up to 200 keywords and obtain the results that Bing Ads suggests for your query. Using this tool, you may obtain up to 3000 keyword ideas.",
|
| 66 |
+
"method": "GET",
|
| 67 |
+
"required_parameters": [
|
| 68 |
+
{
|
| 69 |
+
"name": "keywords",
|
| 70 |
+
"type": "STRING",
|
| 71 |
+
"description": "Comma-separated list of input keywords.\n\nMaximum number of input keywords: 200",
|
| 72 |
+
"default": "dog,puppy"
|
| 73 |
+
}
|
| 74 |
+
],
|
| 75 |
+
"optional_parameters": [
|
| 76 |
+
{
|
| 77 |
+
"name": "device",
|
| 78 |
+
"type": "STRING",
|
| 79 |
+
"description": "Limits data for a particular device type.\n\nPossible values: *all*, *mobile*, *desktop*, *tablet*\nDefault value: *all*",
|
| 80 |
+
"default": "all"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": "location_name",
|
| 84 |
+
"type": "STRING",
|
| 85 |
+
"description": "Name of location.\n\nCan be a Country, Region or City. \n\nExamples: \\\\\\\\\\\\\\\"United States\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Germany\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"London,England,United Kingdom\\\\\\\\\\\\\\\"",
|
| 86 |
+
"default": "United States"
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": "language_name",
|
| 90 |
+
"type": "STRING",
|
| 91 |
+
"description": "Name of language.\n\nExamples: \\\\\\\\\\\\\\\"English\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"German\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Spanish\\\\\\\\\\\\\\\"",
|
| 92 |
+
"default": "English"
|
| 93 |
+
}
|
| 94 |
+
],
|
| 95 |
+
"code": "import requests\n\nurl = \"https://bing-keyword-planner.p.rapidapi.com/keywordideas\"\nquerystring = {\"device\": device, \"keywords\": keywords, \"location_name\": location_name, \"language_name\": language_name}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"bing-keyword-planner.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
|
| 96 |
+
"statuscode": 111,
|
| 97 |
+
"body": "",
|
| 98 |
+
"headers": "",
|
| 99 |
+
"schema": ""
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"name": "Search Volume",
|
| 103 |
+
"url": "https://bing-keyword-planner.p.rapidapi.com/searchvolume",
|
| 104 |
+
"description": "This endpoint will return search volume data for your input keywords. Set up to 200 keywords and get the results.",
|
| 105 |
+
"method": "POST",
|
| 106 |
+
"required_parameters": [],
|
| 107 |
+
"optional_parameters": [],
|
| 108 |
+
"code": "import requests\n\nurl = \"https://bing-keyword-planner.p.rapidapi.com/searchvolume\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"bing-keyword-planner.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 109 |
+
"convert_code": "import requests\n\nurl = \"https://bing-keyword-planner.p.rapidapi.com/searchvolume\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"bing-keyword-planner.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
|
| 110 |
+
"test_endpoint": ""
|
| 111 |
+
}
|
| 112 |
+
]
|
| 113 |
+
}
|