Septzzz commited on
Commit
59f06a6
·
verified ·
1 Parent(s): a2a9aa6

Upload folder using huggingface_hub (part 24)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. toolbench/toolenv/tools/Tools/qr_code_wizard.json +37 -0
  3. toolbench/toolenv/tools/Tools/qr_codes.json +31 -0
  4. toolbench/toolenv/tools/Tools/qr_codes/api.py +31 -0
  5. toolbench/toolenv/tools/Tools/qr_decoder.json +50 -0
  6. toolbench/toolenv/tools/Tools/qr_decoder/api.py +31 -0
  7. toolbench/toolenv/tools/Tools/qr_generation.json +31 -0
  8. toolbench/toolenv/tools/Tools/qr_generation/api.py +29 -0
  9. toolbench/toolenv/tools/Tools/qr_generator/api.py +31 -0
  10. toolbench/toolenv/tools/Tools/qr_generator_api.json +267 -0
  11. toolbench/toolenv/tools/Tools/qr_generator_api/api.py +99 -0
  12. toolbench/toolenv/tools/Tools/qr_generator_generator_with_logo.json +24 -0
  13. toolbench/toolenv/tools/Tools/qr_magic_pro.json +31 -0
  14. toolbench/toolenv/tools/Tools/qr_magic_pro/api.py +31 -0
  15. toolbench/toolenv/tools/Tools/qr_maker_api.json +31 -0
  16. toolbench/toolenv/tools/Tools/qr_maker_api/api.py +31 -0
  17. toolbench/toolenv/tools/Tools/qr_scanner_api.json +260 -0
  18. toolbench/toolenv/tools/Tools/qr_scanner_api/api.py +52 -0
  19. toolbench/toolenv/tools/Tools/qr_supreme.json +31 -0
  20. toolbench/toolenv/tools/Tools/qr_supreme/api.py +31 -0
  21. toolbench/toolenv/tools/Tools/qr_url/api.py +31 -0
  22. toolbench/toolenv/tools/Tools/qr_vcard_generator.json +89 -0
  23. toolbench/toolenv/tools/Tools/qr_vcard_generator/api.py +58 -0
  24. toolbench/toolenv/tools/Tools/qr_web_url_downloader.json +31 -0
  25. toolbench/toolenv/tools/Tools/qr_web_url_downloader/api.py +32 -0
  26. toolbench/toolenv/tools/Tools/qrcode.json +621 -0
  27. toolbench/toolenv/tools/Tools/qrcode/api.py +50 -0
  28. toolbench/toolenv/tools/Tools/qrcode_api/api.py +31 -0
  29. toolbench/toolenv/tools/Tools/qrcode_api_a_powerful_tool_for_generating_qr_codes_from_urls.json +31 -0
  30. toolbench/toolenv/tools/Tools/qrcode_api_a_powerful_tool_for_generating_qr_codes_from_urls/api.py +29 -0
  31. toolbench/toolenv/tools/Tools/qrcode_api_v2/api.py +31 -0
  32. toolbench/toolenv/tools/Tools/qrcode_api_v3/api.py +31 -0
  33. toolbench/toolenv/tools/Tools/qrcode_generator.json +30 -0
  34. toolbench/toolenv/tools/Tools/qrcode_generator_base64.json +37 -0
  35. toolbench/toolenv/tools/Tools/qrcode_generator_base64/api.py +29 -0
  36. toolbench/toolenv/tools/Tools/qrcode_generator_v2/api.py +29 -0
  37. toolbench/toolenv/tools/Tools/qrcode_generator_v3/api.py +29 -0
  38. toolbench/toolenv/tools/Tools/qrcode_supercharged.json +314 -0
  39. toolbench/toolenv/tools/Tools/qrcode_supercharged/api.py +62 -0
  40. toolbench/toolenv/tools/Tools/qrcode_v2/api.py +29 -0
  41. toolbench/toolenv/tools/Tools/qrcode_v3/api.py +31 -0
  42. toolbench/toolenv/tools/Tools/qrcodegenapi.json +31 -0
  43. toolbench/toolenv/tools/Tools/qrcodegenapi/api.py +29 -0
  44. toolbench/toolenv/tools/Tools/qrcodegenerator.json +31 -0
  45. toolbench/toolenv/tools/Tools/qrcodegenerator/api.py +31 -0
  46. toolbench/toolenv/tools/Tools/qrcodegenie_your_qr_code_companion.json +31 -0
  47. toolbench/toolenv/tools/Tools/qrcodegenie_your_qr_code_companion/api.py +29 -0
  48. toolbench/toolenv/tools/Tools/qrcodestyleapi.json +30 -0
  49. toolbench/toolenv/tools/Tools/qrcodeutils.json +136 -0
  50. toolbench/toolenv/tools/Tools/qrcodeutils/api.py +90 -0
.gitattributes CHANGED
@@ -90,3 +90,4 @@ toolbench/toolenv/tools/Sports/sofasport.json filter=lfs diff=lfs merge=lfs -tex
90
  toolbench/toolenv/tools/Sports/sportscore.json filter=lfs diff=lfs merge=lfs -text
91
  toolbench/toolenv/tools/Sports/surebets_2.json filter=lfs diff=lfs merge=lfs -text
92
  toolbench/toolenv/tools/Sports/transfermarkt_db.json filter=lfs diff=lfs merge=lfs -text
 
 
90
  toolbench/toolenv/tools/Sports/sportscore.json filter=lfs diff=lfs merge=lfs -text
91
  toolbench/toolenv/tools/Sports/surebets_2.json filter=lfs diff=lfs merge=lfs -text
92
  toolbench/toolenv/tools/Sports/transfermarkt_db.json filter=lfs diff=lfs merge=lfs -text
93
+ toolbench/toolenv/tools/Transportation/travel_advisor.json filter=lfs diff=lfs merge=lfs -text
toolbench/toolenv/tools/Tools/qr_code_wizard.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QR Code Wizard",
3
+ "tool_description":"Generate QR codes with ease via API",
4
+ "title":"QR Code Wizard",
5
+ "pricing":"FREEMIUM",
6
+ "score":{
7
+ "avgServiceLevel":100,
8
+ "avgLatency":1096,
9
+ "avgSuccessRate":100,
10
+ "popularityScore":9.1,
11
+ "__typename":"Score"
12
+ },
13
+ "home_url":"https://rapidapi.com/francanete/api/qr-code-wizard/",
14
+ "host":"qr-code-wizard.p.rapidapi.com",
15
+ "api_list":[
16
+ {
17
+ "name":"Generate QR",
18
+ "url":"https://qr-code-wizard.p.rapidapi.com/qr-code",
19
+ "description":"Generate QR codes with ease via API",
20
+ "method":"GET",
21
+ "required_parameters":[
22
+ {
23
+ "name":"url",
24
+ "type":"STRING",
25
+ "description":"",
26
+ "default":"www.google.com"
27
+ }
28
+ ],
29
+ "optional_parameters":[],
30
+ "code":"import requests\n\nurl = \"https://qr-code-wizard.p.rapidapi.com/qr-code\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-code-wizard.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/Tools/qr_codes.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QR CODES",
3
+ "tool_description":"This API allows you to generate a QR code for any URL you want, just pass the URL as a parameter in the query string and the API will return a QR code image that you can download or scan.",
4
+ "title":"QR CODES",
5
+ "pricing":"FREEMIUM",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/iaevan008/api/qr-codes1/",
8
+ "host":"qr-codes1.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"QR code Image",
12
+ "url":"https://qr-codes1.p.rapidapi.com/qr",
13
+ "description":"It takes an url as its get request and responds with a png image",
14
+ "method":"GET",
15
+ "required_parameters":[],
16
+ "optional_parameters":[
17
+ {
18
+ "name":"url",
19
+ "type":"STRING",
20
+ "description":"",
21
+ "default":"Google.com"
22
+ }
23
+ ],
24
+ "code":"import requests\n\nurl = \"https://qr-codes1.p.rapidapi.com/qr\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-codes1.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/Tools/qr_codes/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_code_image(url: str='Google.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "It takes an url as its get request and responds with a png image"
12
+
13
+ """
14
+ url = f"https://qr-codes1.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": "qr-codes1.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/Tools/qr_decoder.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "product_id": "api_03255244-aef7-4822-a9ef-e0ac00c5ac06",
3
+ "tool_description": "Decode QRCodes from an image or PDF.\nReturns an array of decoded messages.",
4
+ "home_url": "https://rapidapi.com/jgmorais/api/qr-decoder/",
5
+ "name": "QR Decoder",
6
+ "title": "QR Decoder",
7
+ "pricing": "FREEMIUM",
8
+ "tool_name": "QR Decoder",
9
+ "score": {
10
+ "avgServiceLevel": 100,
11
+ "avgLatency": 3386,
12
+ "avgSuccessRate": 50,
13
+ "popularityScore": 6.4,
14
+ "__typename": "Score"
15
+ },
16
+ "host": "qr-decoder.p.rapidapi.com",
17
+ "api_list": [
18
+ {
19
+ "name": "QRDecoder",
20
+ "url": "https://qr-decoder.p.rapidapi.com/getQRCodesFromPDForImage",
21
+ "description": "Returns the QRCode message from an image or PDF file with embeded QR codes.\n\nFiles must be publicly accessible via the web and the src input parm expects a direct link to the file. Html pages with embeded images or pdfs are not valid and will return empty.",
22
+ "method": "GET",
23
+ "required_parameters": [
24
+ {
25
+ "name": "src",
26
+ "type": "STRING",
27
+ "description": "",
28
+ "default": "https://www.pdfscripting.com/public/FreeStuff/PDFSamples/QRCodeFieldExamples.pdf"
29
+ }
30
+ ],
31
+ "optional_parameters": [],
32
+ "code": "import requests\n\nurl = \"https://qr-decoder.p.rapidapi.com/getQRCodesFromPDForImage\"\nquerystring = {\"src\": \"https://www.pdfscripting.com/public/FreeStuff/PDFSamples/QRCodeFieldExamples.pdf\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-decoder.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://qr-decoder.p.rapidapi.com/getQRCodesFromPDForImage\"\nquerystring = {\"src\": \"https://www.pdfscripting.com/public/FreeStuff/PDFSamples/QRCodeFieldExamples.pdf\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-decoder.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers, params=querystring)\nprint(response.json())\n",
34
+ "test_endpoint": "",
35
+ "statuscode": 200,
36
+ "schema": {
37
+ "type": "object",
38
+ "properties": {
39
+ "data": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "string"
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ ],
49
+ "standardized_name": "qr_decoder"
50
+ }
toolbench/toolenv/tools/Tools/qr_decoder/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 qrdecoder(src: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Returns the QRCode message from an image or PDF file with embeded QR codes.
12
+
13
+ Files must be publicly accessible via the web and the src input parm expects a direct link to the file. Html pages with embeded images or pdfs are not valid and will return empty."
14
+
15
+ """
16
+ url = f"https://qr-decoder.p.rapidapi.com/getqrcodesfrompdforimage"
17
+ querystring = {'src': src, }
18
+
19
+ headers = {
20
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
21
+ "X-RapidAPI-Host": "qr-decoder.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/Tools/qr_generation.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QR Generation",
3
+ "tool_description":"Create QR Code from String",
4
+ "title":"QR Generation",
5
+ "pricing":"FREEMIUM",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/unitAI/api/qr-generation1/",
8
+ "host":"qr-generation1.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"Generate QR Code",
12
+ "url":"https://qr-generation1.p.rapidapi.com/qr",
13
+ "description":"Generates QR Code from String",
14
+ "method":"GET",
15
+ "required_parameters":[
16
+ {
17
+ "name":"url",
18
+ "type":"STRING",
19
+ "description":"",
20
+ "default":"https://google.com"
21
+ }
22
+ ],
23
+ "optional_parameters":[],
24
+ "code":"import requests\n\nurl = \"https://qr-generation1.p.rapidapi.com/qr\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-generation1.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/Tools/qr_generation/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_qr_code(url: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Generates QR Code from String"
12
+
13
+ """
14
+ url = f"https://qr-generation1.p.rapidapi.com/qr"
15
+ querystring = {'url': url, }
16
+
17
+ headers = {
18
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
19
+ "X-RapidAPI-Host": "qr-generation1.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/Tools/qr_generator/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_code_image_copy(url: str='www.google.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "This end point take a 'GET' request with URL/string as a parameter and returns QR code image"
12
+
13
+ """
14
+ url = f"https://qr-generator8.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": "qr-generator8.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/Tools/qr_generator_api.json ADDED
@@ -0,0 +1,267 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name": "QR-Generator-Api",
3
+ "tool_description": "Generate HTML image-tag with base64-image-string OR generate image-file stream as QR code of input text.",
4
+ "title": "QR-Generator-Api",
5
+ "pricing": "FREEMIUM",
6
+ "score": {
7
+ "avgServiceLevel": 100,
8
+ "avgLatency": 2024,
9
+ "avgSuccessRate": 98,
10
+ "popularityScore": 9.1,
11
+ "__typename": "Score"
12
+ },
13
+ "home_url": "https://rapidapi.com/ezzatelbadrawy/api/qr-generator-api/",
14
+ "host": "qr-generator-api.p.rapidapi.com",
15
+ "api_list": [
16
+ {
17
+ "name": "Generate",
18
+ "url": "https://qr-generator-api.p.rapidapi.com/api/qrcode/generate",
19
+ "description": "Generate HTML image-tag with base64-image-string as QR code of input text (Query Parameter)",
20
+ "method": "GET",
21
+ "required_parameters": [
22
+ {
23
+ "name": "text",
24
+ "type": "STRING",
25
+ "description": "QR Code Text Content",
26
+ "default": "enter-your-text-here"
27
+ }
28
+ ],
29
+ "optional_parameters": [
30
+ {
31
+ "name": "pixelsPerModule",
32
+ "type": "NUMBER",
33
+ "description": "(Optional) The pixel size each b/w module is drawn (Default: 10)",
34
+ "default": "10"
35
+ },
36
+ {
37
+ "name": "backColor",
38
+ "type": "STRING",
39
+ "description": "(Optional) Background color in hexadecimal value (Default: White = #ffffff). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.",
40
+ "default": "#ffffff"
41
+ },
42
+ {
43
+ "name": "foreColor",
44
+ "type": "STRING",
45
+ "description": "(Optional) Foreground color in hexadecimal value (Default: Black = #000000). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.",
46
+ "default": "#000000"
47
+ }
48
+ ],
49
+ "code": "import requests\n\nurl = \"https://qr-generator-api.p.rapidapi.com/api/qrcode/generate\"\nquerystring = {\"pixelsPerModule\": pixelspermodule, \"backColor\": backcolor, \"foreColor\": forecolor, \"text\": text}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-generator-api.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
50
+ "statuscode": 200,
51
+ "body": {
52
+ "status": "Success",
53
+ "result": "<img src='data:image/;base64,iVBORw0K....................'>"
54
+ },
55
+ "headers": {},
56
+ "schema": {
57
+ "type": "object",
58
+ "properties": {
59
+ "status": {
60
+ "type": [
61
+ "string",
62
+ "null"
63
+ ]
64
+ },
65
+ "result": {
66
+ "type": [
67
+ "string",
68
+ "null"
69
+ ]
70
+ }
71
+ },
72
+ "additionalProperties": false
73
+ }
74
+ },
75
+ {
76
+ "name": "Generate Invoice VAT QR",
77
+ "url": "https://qr-generator-api.p.rapidapi.com/api/qrcode/generateinvoicevatqr",
78
+ "description": "Generate Invoice VAT QR image file stream (KSA VAT Format).",
79
+ "method": "GET",
80
+ "required_parameters": [
81
+ {
82
+ "name": "date",
83
+ "type": "DATE (YYYY-MM-DD)",
84
+ "description": "Invoice Date (format: yyyy-mm-dd)",
85
+ "default": ""
86
+ },
87
+ {
88
+ "name": "tax",
89
+ "type": "NUMBER",
90
+ "description": "Invoice VAT Tax",
91
+ "default": ""
92
+ },
93
+ {
94
+ "name": "vatNo",
95
+ "type": "STRING",
96
+ "description": "Seller VAT Number",
97
+ "default": "seller-vatNo"
98
+ },
99
+ {
100
+ "name": "seller",
101
+ "type": "STRING",
102
+ "description": "Seller Name",
103
+ "default": "seller-name"
104
+ },
105
+ {
106
+ "name": "total",
107
+ "type": "NUMBER",
108
+ "description": "Invoice Total",
109
+ "default": ""
110
+ }
111
+ ],
112
+ "optional_parameters": [
113
+ {
114
+ "name": "pixelsPerModule",
115
+ "type": "NUMBER",
116
+ "description": "(Optional) The pixel size each b/w module is drawn (Default: 5)",
117
+ "default": "5"
118
+ }
119
+ ],
120
+ "code": "import requests\n\nurl = \"https://qr-generator-api.p.rapidapi.com/api/qrcode/generateinvoicevatqr\"\nquerystring = {\"date\": date, \"tax\": tax, \"vatNo\": vatno, \"pixelsPerModule\": pixelspermodule, \"seller\": seller, \"total\": total}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-generator-api.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
121
+ "statuscode": 111,
122
+ "body": "",
123
+ "headers": "",
124
+ "schema": ""
125
+ },
126
+ {
127
+ "name": "Generate File",
128
+ "url": "https://qr-generator-api.p.rapidapi.com/api/qrcode/generatefile",
129
+ "description": "Generate image file stream as QR code of input text (Query Parameter)",
130
+ "method": "GET",
131
+ "required_parameters": [
132
+ {
133
+ "name": "text",
134
+ "type": "STRING",
135
+ "description": "QR Code Text Content.",
136
+ "default": "enter-your-text-here"
137
+ }
138
+ ],
139
+ "optional_parameters": [
140
+ {
141
+ "name": "backColor",
142
+ "type": "STRING",
143
+ "description": "(Optional) Background color in hexadecimal value (Default: White = #ffffff). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.",
144
+ "default": "#ffffff"
145
+ },
146
+ {
147
+ "name": "pixelsPerModule",
148
+ "type": "NUMBER",
149
+ "description": "(Optional) The pixel size each b/w module is drawn (Default: 10)",
150
+ "default": "10"
151
+ },
152
+ {
153
+ "name": "foreColor",
154
+ "type": "STRING",
155
+ "description": "(Optional) Foreground color in hexadecimal value (Default: Black = #000000). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.",
156
+ "default": "#000000"
157
+ }
158
+ ],
159
+ "code": "import requests\n\nurl = \"https://qr-generator-api.p.rapidapi.com/api/qrcode/generatefile\"\nquerystring = {\"backColor\": backcolor, \"pixelsPerModule\": pixelspermodule, \"text\": text, \"foreColor\": forecolor}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-generator-api.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
160
+ "statuscode": 111,
161
+ "body": "",
162
+ "headers": "",
163
+ "schema": ""
164
+ },
165
+ {
166
+ "name": "Generate",
167
+ "url": "https://qr-generator-api.p.rapidapi.com/api/qrcode/generate",
168
+ "description": "Generate HTML image-tag with base64-image-string as QR code of input text (Post Body)",
169
+ "method": "POST",
170
+ "required_parameters": [],
171
+ "optional_parameters": [
172
+ {
173
+ "name": "foreColor",
174
+ "type": "STRING",
175
+ "description": "(Optional) Foreground color in hexadecimal value (Default: Black = #000000). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.",
176
+ "default": "#000000"
177
+ },
178
+ {
179
+ "name": "backColor",
180
+ "type": "STRING",
181
+ "description": "(Optional) Background color in hexadecimal value (Default: White = #ffffff). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.",
182
+ "default": "#ffffff"
183
+ },
184
+ {
185
+ "name": "pixelsPerModule",
186
+ "type": "NUMBER",
187
+ "description": "(Optional) The pixel size each b/w module is drawn (Default: 10)",
188
+ "default": "10"
189
+ }
190
+ ],
191
+ "code": "import requests\n\nurl = \"https://qr-generator-api.p.rapidapi.com/api/qrcode/generate\"\nquerystring = {\"foreColor\": forecolor, \"backColor\": backcolor, \"pixelsPerModule\": pixelspermodule}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-generator-api.p.rapidapi.com\"\n}\n\nresponse = requests.post(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
192
+ "statuscode": 200,
193
+ "body": {
194
+ "status": "Success",
195
+ "result": "<img src='data:image/;base64,iVBORw0K....................'>"
196
+ },
197
+ "headers": {},
198
+ "schema": {
199
+ "type": "object",
200
+ "properties": {
201
+ "status": {
202
+ "type": [
203
+ "string",
204
+ "null"
205
+ ]
206
+ },
207
+ "result": {
208
+ "type": [
209
+ "string",
210
+ "null"
211
+ ]
212
+ }
213
+ },
214
+ "additionalProperties": false
215
+ }
216
+ },
217
+ {
218
+ "name": "Generate",
219
+ "url": "https://qr-generator-api.p.rapidapi.com/api/qrcode/generate",
220
+ "description": "Generate HTML image-tag with base64-image-string as QR code of input text (Post Body)",
221
+ "method": "POST",
222
+ "required_parameters": [],
223
+ "optional_parameters": [
224
+ {
225
+ "name": "foreColor",
226
+ "type": "STRING",
227
+ "description": "(Optional) Foreground color in hexadecimal value (Default: Black = #000000). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.",
228
+ "default": "#000000"
229
+ },
230
+ {
231
+ "name": "backColor",
232
+ "type": "STRING",
233
+ "description": "(Optional) Background color in hexadecimal value (Default: White = #ffffff). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.",
234
+ "default": "#ffffff"
235
+ },
236
+ {
237
+ "name": "pixelsPerModule",
238
+ "type": "NUMBER",
239
+ "description": "(Optional) The pixel size each b/w module is drawn (Default: 10)",
240
+ "default": "10"
241
+ }
242
+ ],
243
+ "code": "import requests\n\nurl = \"https://qr-generator-api.p.rapidapi.com/api/qrcode/generate\"\nquerystring = {\"foreColor\": \"#000000\", \"backColor\": \"#ffffff\", \"pixelsPerModule\": \"10\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-generator-api.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
244
+ "convert_code": "import requests\n\nurl = \"https://qr-generator-api.p.rapidapi.com/api/qrcode/generate\"\nquerystring = {\"foreColor\": \"#000000\", \"backColor\": \"#ffffff\", \"pixelsPerModule\": \"10\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-generator-api.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
245
+ "test_endpoint": "",
246
+ "statuscode": 200,
247
+ "schema": {
248
+ "type": "object",
249
+ "properties": {
250
+ "status": {
251
+ "type": [
252
+ "string",
253
+ "null"
254
+ ]
255
+ },
256
+ "result": {
257
+ "type": [
258
+ "string",
259
+ "null"
260
+ ]
261
+ }
262
+ },
263
+ "additionalProperties": false
264
+ }
265
+ }
266
+ ]
267
+ }
toolbench/toolenv/tools/Tools/qr_generator_api/api.py ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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(text: str, pixelspermodule: int=10, backcolor: str='#ffffff', forecolor: str='#000000', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Generate HTML image-tag with base64-image-string as QR code of input text (Query Parameter)"
12
+ text: QR Code Text Content
13
+ pixelspermodule: (Optional) The pixel size each b/w module is drawn (Default: 10)
14
+ backcolor: (Optional) Background color in hexadecimal value (Default: White = #ffffff). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.
15
+ forecolor: (Optional) Foreground color in hexadecimal value (Default: Black = #000000). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.
16
+
17
+ """
18
+ url = f"https://qr-generator-api.p.rapidapi.com/api/qrcode/generate"
19
+ querystring = {'text': text, }
20
+ if pixelspermodule:
21
+ querystring['pixelsPerModule'] = pixelspermodule
22
+ if backcolor:
23
+ querystring['backColor'] = backcolor
24
+ if forecolor:
25
+ querystring['foreColor'] = forecolor
26
+
27
+ headers = {
28
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
29
+ "X-RapidAPI-Host": "qr-generator-api.p.rapidapi.com"
30
+ }
31
+
32
+
33
+ response = requests.get(url, headers=headers, params=querystring)
34
+ try:
35
+ observation = response.json()
36
+ except:
37
+ observation = response.text
38
+ return observation
39
+
40
+ def generate_invoice_vat_qr(date: str, tax: int, vatno: str, seller: str, total: int, pixelspermodule: int=5, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
41
+ """
42
+ "Generate Invoice VAT QR image file stream (KSA VAT Format)."
43
+ date: Invoice Date (format: yyyy-mm-dd)
44
+ tax: Invoice VAT Tax
45
+ vatno: Seller VAT Number
46
+ seller: Seller Name
47
+ total: Invoice Total
48
+ pixelspermodule: (Optional) The pixel size each b/w module is drawn (Default: 5)
49
+
50
+ """
51
+ url = f"https://qr-generator-api.p.rapidapi.com/api/qrcode/generateinvoicevatqr"
52
+ querystring = {'date': date, 'tax': tax, 'vatNo': vatno, 'seller': seller, 'total': total, }
53
+ if pixelspermodule:
54
+ querystring['pixelsPerModule'] = pixelspermodule
55
+
56
+ headers = {
57
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
58
+ "X-RapidAPI-Host": "qr-generator-api.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
+
69
+ def generate_file(text: str, backcolor: str='#ffffff', pixelspermodule: int=10, forecolor: str='#000000', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
70
+ """
71
+ "Generate image file stream as QR code of input text (Query Parameter)"
72
+ text: QR Code Text Content.
73
+ backcolor: (Optional) Background color in hexadecimal value (Default: White = #ffffff). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.
74
+ pixelspermodule: (Optional) The pixel size each b/w module is drawn (Default: 10)
75
+ forecolor: (Optional) Foreground color in hexadecimal value (Default: Black = #000000). Note: Should start with # prefix, and each basic-color (red, green, blue) should has two hex-digits.
76
+
77
+ """
78
+ url = f"https://qr-generator-api.p.rapidapi.com/api/qrcode/generatefile"
79
+ querystring = {'text': text, }
80
+ if backcolor:
81
+ querystring['backColor'] = backcolor
82
+ if pixelspermodule:
83
+ querystring['pixelsPerModule'] = pixelspermodule
84
+ if forecolor:
85
+ querystring['foreColor'] = forecolor
86
+
87
+ headers = {
88
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
89
+ "X-RapidAPI-Host": "qr-generator-api.p.rapidapi.com"
90
+ }
91
+
92
+
93
+ response = requests.get(url, headers=headers, params=querystring)
94
+ try:
95
+ observation = response.json()
96
+ except:
97
+ observation = response.text
98
+ return observation
99
+
toolbench/toolenv/tools/Tools/qr_generator_generator_with_logo.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "product_id": "api_046f24b7-3d24-4200-b5c7-230a8426e638",
3
+ "tool_description": "Generate QR code images using this API for any text and a custom logo image.",
4
+ "home_url": "https://rapidapi.com/carrasquel.nelson/api/qr-generator-generator-with-logo/",
5
+ "name": "QR Generator Generator with Logo",
6
+ "title": "QR Generator Generator with Logo",
7
+ "pricing": "PAID",
8
+ "tool_name": "QR Generator Generator with Logo",
9
+ "score": null,
10
+ "host": "qr-generator-generator-with-logo.p.rapidapi.com",
11
+ "api_list": [
12
+ {
13
+ "name": "QR Code Generator",
14
+ "url": "https://qr-generator-generator-with-logo.p.rapidapi.com/api/qr/generate",
15
+ "description": "Generate the QR Code for the given payload with data and logo image in base64. Returns a base64 image",
16
+ "method": "POST",
17
+ "required_parameters": [],
18
+ "optional_parameters": [],
19
+ "code": "import requests\n\nurl = \"https://qr-generator-generator-with-logo.p.rapidapi.com/api/qr/generate\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-generator-generator-with-logo.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
20
+ "convert_code": "import requests\n\nurl = \"https://qr-generator-generator-with-logo.p.rapidapi.com/api/qr/generate\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-generator-generator-with-logo.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
21
+ "test_endpoint": ""
22
+ }
23
+ ]
24
+ }
toolbench/toolenv/tools/Tools/qr_magic_pro.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QR Magic Pro",
3
+ "tool_description":"Introducing \"QR Magic Pro\", the ultimate QR code generation API for individuals and businesses looking for a fast, easy and reliable way to create professional-grade QR codes. The API allows you to quickly and easily generate QR codes for any URL, with just a few simple steps. ",
4
+ "title":"QR Magic Pro",
5
+ "pricing":"FREEMIUM",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/JuCuAcc/api/qr-magic-pro/",
8
+ "host":"qr-magic-pro.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"QR Code Picture",
12
+ "url":"https://qr-magic-pro.p.rapidapi.com/qr",
13
+ "description":"Send a request with a URL and get a QR code picture in response.",
14
+ "method":"GET",
15
+ "required_parameters":[],
16
+ "optional_parameters":[
17
+ {
18
+ "name":"url",
19
+ "type":"STRING",
20
+ "description":"",
21
+ "default":""
22
+ }
23
+ ],
24
+ "code":"import requests\n\nurl = \"https://qr-magic-pro.p.rapidapi.com/qr\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-magic-pro.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n",
25
+ "statuscode":111,
26
+ "body":"",
27
+ "headers":"",
28
+ "schema":""
29
+ }
30
+ ]
31
+ }
toolbench/toolenv/tools/Tools/qr_magic_pro/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_code_picture(url: str=None, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Send a request with a URL and get a QR code picture in response."
12
+
13
+ """
14
+ url = f"https://qr-magic-pro.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": "qr-magic-pro.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/Tools/qr_maker_api.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QR Maker API",
3
+ "tool_description":"Any URL can be transformed into a QR code with the help of the straightforward QR Maker API. Utilize it to quickly create QR codes for your marketing materials or website.\nWhat is the acronym QR?\nThe term \"Quick Response\" stands for It is a kind of two-dimensional barcode that mobile devices can scan to quickly get to information like website URLs, product details, and contact information.\n\nIf you want to learn how to use this API, go to the /qrgen url/endpoint, add the url parameter, and ent...",
4
+ "title":"QR Maker API",
5
+ "pricing":"FREEMIUM",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/hamidahjamiatul/api/qr-maker-api/",
8
+ "host":"qr-maker-api.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"GET QRCode",
12
+ "url":"https://qr-maker-api.p.rapidapi.com/qrgen",
13
+ "description":"Gets QR Code",
14
+ "method":"GET",
15
+ "required_parameters":[],
16
+ "optional_parameters":[
17
+ {
18
+ "name":"url",
19
+ "type":"STRING",
20
+ "description":"",
21
+ "default":"www.example.com"
22
+ }
23
+ ],
24
+ "code":"import requests\n\nurl = \"https://qr-maker-api.p.rapidapi.com/qrgen\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-maker-api.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/Tools/qr_maker_api/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 get_qrcode(url: str='www.example.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Gets QR Code"
12
+
13
+ """
14
+ url = f"https://qr-maker-api.p.rapidapi.com/qrgen"
15
+ querystring = {}
16
+ if url:
17
+ querystring['url'] = url
18
+
19
+ headers = {
20
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
21
+ "X-RapidAPI-Host": "qr-maker-api.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/Tools/qr_scanner_api.json ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name": "QR-Scanner-Api",
3
+ "tool_description": "Scan QR & Barcode images from files or URLs and return the equivalent QR-Text or Barcode-Number plus code format.",
4
+ "title": "QR-Scanner-Api",
5
+ "pricing": "FREEMIUM",
6
+ "score": {
7
+ "avgServiceLevel": 100,
8
+ "avgLatency": 2910,
9
+ "avgSuccessRate": 100,
10
+ "popularityScore": 9.3,
11
+ "__typename": "Score"
12
+ },
13
+ "home_url": "https://rapidapi.com/ezzatelbadrawy/api/qr-scanner-api/",
14
+ "host": "qr-scanner-api.p.rapidapi.com",
15
+ "api_list": [
16
+ {
17
+ "name": "ScanImageUrl",
18
+ "url": "https://qr-scanner-api.p.rapidapi.com/api/QR/scanimageurl",
19
+ "description": "Scan image from URL and return QR text or Barcode number.",
20
+ "method": "GET",
21
+ "required_parameters": [
22
+ {
23
+ "name": "imageUrl",
24
+ "type": "STRING",
25
+ "description": "Image URL which you want to scan",
26
+ "default": "set-your-image-URL-here (ex: https://drive.google.com/uc?id=1Bqpyxu5gZbmzyre-bVMMpod9qItPma9w)"
27
+ }
28
+ ],
29
+ "optional_parameters": [],
30
+ "code": "import requests\n\nurl = \"https://qr-scanner-api.p.rapidapi.com/api/QR/scanimageurl\"\nquerystring = {\"imageUrl\": imageurl}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-scanner-api.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
31
+ "statuscode": 200,
32
+ "body": "{\n\t\"status\": \"\",\n\t\"result\": \"\",\n\t\"format\": \"\"\n}",
33
+ "headers": {},
34
+ "schema": {
35
+ "type": "object",
36
+ "properties": {
37
+ "status": {
38
+ "type": [
39
+ "string",
40
+ "null"
41
+ ],
42
+ "description": "Response Status : Success/Failure"
43
+ },
44
+ "result": {
45
+ "type": [
46
+ "string",
47
+ "null"
48
+ ],
49
+ "description": "Respons Result : Expected output with 'Success' status OR error description with 'Failure' status"
50
+ },
51
+ "format": {
52
+ "type": [
53
+ "string",
54
+ "null"
55
+ ],
56
+ "description": "QR/Barcode Format"
57
+ }
58
+ },
59
+ "additionalProperties": false,
60
+ "description": "Custom Response Object"
61
+ }
62
+ },
63
+ {
64
+ "name": "ScanImageUrl",
65
+ "url": "https://qr-scanner-api.p.rapidapi.com/api/QR/scanimageurl",
66
+ "description": "Scan image from URL and return QR text or Barcode number.",
67
+ "method": "GET",
68
+ "required_parameters": [
69
+ {
70
+ "name": "imageUrl",
71
+ "type": "STRING",
72
+ "description": "Image URL which you want to scan",
73
+ "default": "set-your-image-URL-here (ex: https://drive.google.com/uc?id=1Bqpyxu5gZbmzyre-bVMMpod9qItPma9w)"
74
+ }
75
+ ],
76
+ "optional_parameters": [],
77
+ "code": "import requests\n\nurl = \"https://qr-scanner-api.p.rapidapi.com/api/QR/scanimageurl\"\nquerystring = {\"imageUrl\": imageurl}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-scanner-api.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
78
+ "statuscode": 200,
79
+ "body": {
80
+ "status": "Success",
81
+ "result": "QR-Text or Barcode-Number",
82
+ "format": "code-format"
83
+ },
84
+ "headers": {},
85
+ "schema": {
86
+ "type": "object",
87
+ "properties": {
88
+ "status": {
89
+ "type": [
90
+ "string",
91
+ "null"
92
+ ],
93
+ "description": "Response Status : Success/Failure"
94
+ },
95
+ "result": {
96
+ "type": [
97
+ "string",
98
+ "null"
99
+ ],
100
+ "description": "Respons Result : Expected output with 'Success' status OR error description with 'Failure' status"
101
+ },
102
+ "format": {
103
+ "type": [
104
+ "string",
105
+ "null"
106
+ ],
107
+ "description": "QR/Barcode Format"
108
+ }
109
+ },
110
+ "additionalProperties": false,
111
+ "description": "Custom Response Object"
112
+ }
113
+ },
114
+ {
115
+ "name": "ScanImageFile",
116
+ "url": "https://qr-scanner-api.p.rapidapi.com/api/QR/scanimagefile",
117
+ "description": "Scan image file and return QR text or Barcode number.",
118
+ "method": "POST",
119
+ "required_parameters": [
120
+ {
121
+ "name": "imagefile",
122
+ "type": "BINARY",
123
+ "description": "",
124
+ "default": ""
125
+ }
126
+ ],
127
+ "optional_parameters": [],
128
+ "code": "import requests\n\nurl = \"https://qr-scanner-api.p.rapidapi.com/api/QR/scanimagefile\"\nquerystring = {\"imagefile\": imagefile}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-scanner-api.p.rapidapi.com\"\n}\n\nresponse = requests.post(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
129
+ "statuscode": 200,
130
+ "body": "{\n\t\"status\": \"\",\n\t\"result\": \"\",\n\t\"format\": \"\"\n}",
131
+ "headers": {},
132
+ "schema": {
133
+ "type": "object",
134
+ "properties": {
135
+ "status": {
136
+ "type": [
137
+ "string",
138
+ "null"
139
+ ],
140
+ "description": "Response Status : Success/Failure"
141
+ },
142
+ "result": {
143
+ "type": [
144
+ "string",
145
+ "null"
146
+ ],
147
+ "description": "Respons Result : Expected output with 'Success' status OR error description with 'Failure' status"
148
+ },
149
+ "format": {
150
+ "type": [
151
+ "string",
152
+ "null"
153
+ ],
154
+ "description": "QR/Barcode Format"
155
+ }
156
+ },
157
+ "additionalProperties": false,
158
+ "description": "Custom Response Object"
159
+ }
160
+ },
161
+ {
162
+ "name": "ScanImageFile",
163
+ "url": "https://qr-scanner-api.p.rapidapi.com/api/QR/scanimagefile",
164
+ "description": "Scan image file and return QR text or Barcode number.",
165
+ "method": "POST",
166
+ "required_parameters": [
167
+ {
168
+ "name": "imagefile",
169
+ "type": "BINARY",
170
+ "description": "",
171
+ "default": ""
172
+ }
173
+ ],
174
+ "optional_parameters": [],
175
+ "code": "import requests\n\nurl = \"https://qr-scanner-api.p.rapidapi.com/api/QR/scanimagefile\"\nquerystring = {\"imagefile\": imagefile}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-scanner-api.p.rapidapi.com\"\n}\n\nresponse = requests.post(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
176
+ "statuscode": 200,
177
+ "body": {
178
+ "status": "Success",
179
+ "result": "QR-Text or Barcode-Number",
180
+ "format": "code-format"
181
+ },
182
+ "headers": {},
183
+ "schema": {
184
+ "type": "object",
185
+ "properties": {
186
+ "status": {
187
+ "type": [
188
+ "string",
189
+ "null"
190
+ ],
191
+ "description": "Response Status : Success/Failure"
192
+ },
193
+ "result": {
194
+ "type": [
195
+ "string",
196
+ "null"
197
+ ],
198
+ "description": "Respons Result : Expected output with 'Success' status OR error description with 'Failure' status"
199
+ },
200
+ "format": {
201
+ "type": [
202
+ "string",
203
+ "null"
204
+ ],
205
+ "description": "QR/Barcode Format"
206
+ }
207
+ },
208
+ "additionalProperties": false,
209
+ "description": "Custom Response Object"
210
+ }
211
+ },
212
+ {
213
+ "name": "ScanImageFile",
214
+ "url": "https://qr-scanner-api.p.rapidapi.com/api/QR/scanimagefile",
215
+ "description": "Scan image file and return QR text or Barcode number.",
216
+ "method": "POST",
217
+ "required_parameters": [
218
+ {
219
+ "name": "imagefile",
220
+ "type": "BINARY",
221
+ "description": "",
222
+ "default": ""
223
+ }
224
+ ],
225
+ "optional_parameters": [],
226
+ "code": "import requests\n\nurl = \"https://qr-scanner-api.p.rapidapi.com/api/QR/scanimagefile\"\nquerystring = {\"imagefile\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-scanner-api.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
227
+ "convert_code": "import requests\n\nurl = \"https://qr-scanner-api.p.rapidapi.com/api/QR/scanimagefile\"\nquerystring = {\"imagefile\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-scanner-api.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
228
+ "test_endpoint": "",
229
+ "statuscode": 200,
230
+ "schema": {
231
+ "type": "object",
232
+ "properties": {
233
+ "status": {
234
+ "type": [
235
+ "string",
236
+ "null"
237
+ ],
238
+ "description": "Response Status : Success/Failure"
239
+ },
240
+ "result": {
241
+ "type": [
242
+ "string",
243
+ "null"
244
+ ],
245
+ "description": "Respons Result : Expected output with 'Success' status OR error description with 'Failure' status"
246
+ },
247
+ "format": {
248
+ "type": [
249
+ "string",
250
+ "null"
251
+ ],
252
+ "description": "QR/Barcode Format"
253
+ }
254
+ },
255
+ "additionalProperties": false,
256
+ "description": "Custom Response Object"
257
+ }
258
+ }
259
+ ]
260
+ }
toolbench/toolenv/tools/Tools/qr_scanner_api/api.py ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 scanimageurl(imageurl: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Scan image from URL and return QR text or Barcode number."
12
+ imageurl: Image URL which you want to scan
13
+
14
+ """
15
+ url = f"https://qr-scanner-api.p.rapidapi.com/api/qr/scanimageurl"
16
+ querystring = {'imageUrl': imageurl, }
17
+
18
+ headers = {
19
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
20
+ "X-RapidAPI-Host": "qr-scanner-api.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
+
31
+ def scanimageurl(imageurl: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
32
+ """
33
+ "Scan image from URL and return QR text or Barcode number."
34
+ imageurl: Image URL which you want to scan
35
+
36
+ """
37
+ url = f"https://qr-scanner-api.p.rapidapi.com/api/qr/scanimageurl"
38
+ querystring = {'imageUrl': imageurl, }
39
+
40
+ headers = {
41
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
42
+ "X-RapidAPI-Host": "qr-scanner-api.p.rapidapi.com"
43
+ }
44
+
45
+
46
+ response = requests.get(url, headers=headers, params=querystring)
47
+ try:
48
+ observation = response.json()
49
+ except:
50
+ observation = response.text
51
+ return observation
52
+
toolbench/toolenv/tools/Tools/qr_supreme.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QR Supreme",
3
+ "tool_description":"This API takes URL or string and returns the QR code Image",
4
+ "title":"QR Supreme",
5
+ "pricing":"FREEMIUM",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/roalex507/api/qr-supreme/",
8
+ "host":"qr-supreme.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"QR Code Image_copy",
12
+ "url":"https://qr-supreme.p.rapidapi.com/generate_qr",
13
+ "description":"This end point takes a 'GET' request with url / string as a parameter and returns qr code image.",
14
+ "method":"GET",
15
+ "required_parameters":[],
16
+ "optional_parameters":[
17
+ {
18
+ "name":"url",
19
+ "type":"STRING",
20
+ "description":"",
21
+ "default":"www.google.com"
22
+ }
23
+ ],
24
+ "code":"import requests\n\nurl = \"https://qr-supreme.p.rapidapi.com/generate_qr\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-supreme.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/Tools/qr_supreme/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_code_image_copy(url: str='www.google.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "This end point takes a 'GET' request with url / string as a parameter and returns qr code image."
12
+
13
+ """
14
+ url = f"https://qr-supreme.p.rapidapi.com/generate_qr"
15
+ querystring = {}
16
+ if url:
17
+ querystring['url'] = url
18
+
19
+ headers = {
20
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
21
+ "X-RapidAPI-Host": "qr-supreme.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/Tools/qr_url/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 get_a_qr_image_from_a_web_page(url: str='www.outlook.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "This endpoint takes a "GET" request with url / string as a parameter and return qr download image (.png)"
12
+
13
+ """
14
+ url = f"https://qr-url1.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": "qr-url1.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/Tools/qr_vcard_generator.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QR VCARD Generator",
3
+ "tool_description":"API to generate VCARD and text QR codes",
4
+ "title":"QR VCARD Generator",
5
+ "pricing":"FREEMIUM",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/hpro252/api/qr-vcard-generator/",
8
+ "host":"qr-vcard-generator.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"VCARD QR Code",
12
+ "url":"https://qr-vcard-generator.p.rapidapi.com/vcard",
13
+ "description":"Generates VCARD QR Code",
14
+ "method":"GET",
15
+ "required_parameters":[
16
+ {
17
+ "name":"phone",
18
+ "type":"STRING",
19
+ "description":"",
20
+ "default":"+1-202-555-0152"
21
+ },
22
+ {
23
+ "name":"name",
24
+ "type":"STRING",
25
+ "description":"",
26
+ "default":"John Doe"
27
+ },
28
+ {
29
+ "name":"email",
30
+ "type":"STRING",
31
+ "description":"",
32
+ "default":"info@example.com"
33
+ }
34
+ ],
35
+ "optional_parameters":[
36
+ {
37
+ "name":"size",
38
+ "type":"NUMBER",
39
+ "description":"",
40
+ "default":"20"
41
+ },
42
+ {
43
+ "name":"border",
44
+ "type":"NUMBER",
45
+ "description":"",
46
+ "default":"2"
47
+ }
48
+ ],
49
+ "code":"import requests\n\nurl = \"https://qr-vcard-generator.p.rapidapi.com/vcard\"\nquerystring = {\"size\": size, \"border\": border, \"phone\": phone, \"name\": name, \"email\": email}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-vcard-generator.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
50
+ "statuscode":111,
51
+ "body":"",
52
+ "headers":"",
53
+ "schema":""
54
+ },
55
+ {
56
+ "name":"Text QR Code Generator",
57
+ "url":"https://qr-vcard-generator.p.rapidapi.com/qrcode",
58
+ "description":"Generates Text/URL QR Code",
59
+ "method":"GET",
60
+ "required_parameters":[
61
+ {
62
+ "name":"text",
63
+ "type":"STRING",
64
+ "description":"",
65
+ "default":"Hello World"
66
+ }
67
+ ],
68
+ "optional_parameters":[
69
+ {
70
+ "name":"border",
71
+ "type":"NUMBER",
72
+ "description":"",
73
+ "default":"3"
74
+ },
75
+ {
76
+ "name":"size",
77
+ "type":"NUMBER",
78
+ "description":"",
79
+ "default":"15"
80
+ }
81
+ ],
82
+ "code":"import requests\n\nurl = \"https://qr-vcard-generator.p.rapidapi.com/qrcode\"\nquerystring = {\"border\": border, \"size\": size, \"text\": text}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-vcard-generator.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
83
+ "statuscode":111,
84
+ "body":"",
85
+ "headers":"",
86
+ "schema":""
87
+ }
88
+ ]
89
+ }
toolbench/toolenv/tools/Tools/qr_vcard_generator/api.py ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 vcard_qr_code(phone: str, name: str, email: str, size: int=20, border: int=2, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Generates VCARD QR Code"
12
+
13
+ """
14
+ url = f"https://qr-vcard-generator.p.rapidapi.com/vcard"
15
+ querystring = {'phone': phone, 'name': name, 'email': email, }
16
+ if size:
17
+ querystring['size'] = size
18
+ if border:
19
+ querystring['border'] = border
20
+
21
+ headers = {
22
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
23
+ "X-RapidAPI-Host": "qr-vcard-generator.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
+
34
+ def text_qr_code_generator(text: str, border: int=3, size: int=15, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
35
+ """
36
+ "Generates Text/URL QR Code"
37
+
38
+ """
39
+ url = f"https://qr-vcard-generator.p.rapidapi.com/qrcode"
40
+ querystring = {'text': text, }
41
+ if border:
42
+ querystring['border'] = border
43
+ if size:
44
+ querystring['size'] = size
45
+
46
+ headers = {
47
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
48
+ "X-RapidAPI-Host": "qr-vcard-generator.p.rapidapi.com"
49
+ }
50
+
51
+
52
+ response = requests.get(url, headers=headers, params=querystring)
53
+ try:
54
+ observation = response.json()
55
+ except:
56
+ observation = response.text
57
+ return observation
58
+
toolbench/toolenv/tools/Tools/qr_web_url_downloader.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QR web URL downloader",
3
+ "tool_description":"The API take URL as String and return the QR code image",
4
+ "title":"QR web URL downloader",
5
+ "pricing":"FREEMIUM",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/sijok47/api/qr-web-url-downloader/",
8
+ "host":"qr-web-url-downloader.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"QR Code Image_download",
12
+ "url":"https://qr-web-url-downloader.p.rapidapi.com/qr",
13
+ "description":"This end point take a 'GET' request with URL/string parameter and\nreturn qr code image",
14
+ "method":"GET",
15
+ "required_parameters":[],
16
+ "optional_parameters":[
17
+ {
18
+ "name":"url",
19
+ "type":"STRING",
20
+ "description":"",
21
+ "default":"www.google.com"
22
+ }
23
+ ],
24
+ "code":"import requests\n\nurl = \"https://qr-web-url-downloader.p.rapidapi.com/qr\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qr-web-url-downloader.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/Tools/qr_web_url_downloader/api.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_code_image_download(url: str='www.google.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "This end point take a 'GET' request with URL/string parameter and
12
+ return qr code image"
13
+
14
+ """
15
+ url = f"https://qr-web-url-downloader.p.rapidapi.com/qr"
16
+ querystring = {}
17
+ if url:
18
+ querystring['url'] = url
19
+
20
+ headers = {
21
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
22
+ "X-RapidAPI-Host": "qr-web-url-downloader.p.rapidapi.com"
23
+ }
24
+
25
+
26
+ response = requests.get(url, headers=headers, params=querystring)
27
+ try:
28
+ observation = response.json()
29
+ except:
30
+ observation = response.text
31
+ return observation
32
+
toolbench/toolenv/tools/Tools/qrcode.json ADDED
@@ -0,0 +1,621 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "product_id": "api_656631bd-6847-4a50-9522-a47ff8cc0c08",
3
+ "tool_description": "Customisable QR Codes. Support for styles, images and more! Bare metal engine gives it incredible speed. Full documentation can be found at: https://linqr.app/docs",
4
+ "home_url": "https://rapidapi.com/linqr-linqr-default/api/qrcode3/",
5
+ "name": "QRCode",
6
+ "title": "QRCode",
7
+ "pricing": "FREEMIUM",
8
+ "tool_name": "QRCode",
9
+ "score": {
10
+ "avgServiceLevel": 100,
11
+ "avgLatency": 203,
12
+ "avgSuccessRate": 100,
13
+ "popularityScore": 9.8,
14
+ "__typename": "Score"
15
+ },
16
+ "host": "qrcode3.p.rapidapi.com",
17
+ "api_list": [
18
+ {
19
+ "name": "List image",
20
+ "url": "https://qrcode3.p.rapidapi.com/images/{id}",
21
+ "description": "This endpoint allows you to list single image hosted in the LinQR storage.",
22
+ "method": "GET",
23
+ "required_parameters": [
24
+ {
25
+ "name": "id",
26
+ "type": "STRING",
27
+ "description": "",
28
+ "default": ""
29
+ }
30
+ ],
31
+ "optional_parameters": [],
32
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/images/{id}\"\nquerystring = {\"id\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.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://qrcode3.p.rapidapi.com/images/{id}\"\nquerystring = {\"id\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers, params=querystring)\nprint(response.json())\n",
34
+ "test_endpoint": {
35
+ "message": "This endpoint is disabled for your subscription"
36
+ },
37
+ "statuscode": 200,
38
+ "schema": {
39
+ "title": "ImageMetadata",
40
+ "required": [
41
+ "id",
42
+ "source",
43
+ "size",
44
+ "created"
45
+ ],
46
+ "type": "object",
47
+ "properties": {
48
+ "id": {
49
+ "title": "Id",
50
+ "type": "string",
51
+ "description": "Image identifier.",
52
+ "format": "uuid4"
53
+ },
54
+ "source": {
55
+ "title": "Source",
56
+ "type": "string",
57
+ "description": "Source file name."
58
+ },
59
+ "size": {
60
+ "title": "Size",
61
+ "type": "integer",
62
+ "description": "Size of the source file in bytes"
63
+ },
64
+ "created": {
65
+ "title": "Created",
66
+ "type": "string",
67
+ "description": "The creation time of the image.",
68
+ "format": "date-time"
69
+ }
70
+ },
71
+ "additionalProperties": false
72
+ }
73
+ },
74
+ {
75
+ "name": "List all images",
76
+ "url": "https://qrcode3.p.rapidapi.com/images",
77
+ "description": "This endpoint allows you to list images hosted in the LinQR storage. If there are no images hosted, an empty array is returned.",
78
+ "method": "GET",
79
+ "required_parameters": [],
80
+ "optional_parameters": [],
81
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/images\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())\n",
82
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/images\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())\n",
83
+ "test_endpoint": {
84
+ "message": "This endpoint is disabled for your subscription"
85
+ },
86
+ "statuscode": 1,
87
+ "schema": ""
88
+ },
89
+ {
90
+ "name": "Text QR Code",
91
+ "url": "https://qrcode3.p.rapidapi.com/qrcode/text",
92
+ "description": "This endpoint allows you to create a QR Code containing any text, in particular, an URL that may redirect the user to the website. After QR code is scanned, website will be displayed to the user.",
93
+ "method": "POST",
94
+ "required_parameters": [
95
+ {
96
+ "name": "image",
97
+ "type": "BINARY",
98
+ "description": "",
99
+ "default": ""
100
+ },
101
+ {
102
+ "name": "metadata",
103
+ "type": "OBJECT",
104
+ "description": "",
105
+ "default": "{\"data\":\"https://linqr.app\",\"image\":{\"modules\":true},\"style\":{\"module\":{\"color\":\"black\",\"shape\":\"default\"},\"inner_eye\":{\"shape\":\"default\"},\"outer_eye\":{\"shape\":\"default\"},\"background\":{}},\"size\":{\"width\":200,\"quiet_zone\":4},\"output\":{\"filename\":\"qrcode\",\"format\":\"svg\"}}"
106
+ }
107
+ ],
108
+ "optional_parameters": [],
109
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/text\"\nquerystring = {\"image\": \"\", \"metadata\": \"{\\\"data\\\":\\\"https://linqr.app\\\",\\\"image\\\":{\\\"modules\\\":true},\\\"style\\\":{\\\"module\\\":{\\\"color\\\":\\\"black\\\",\\\"shape\\\":\\\"default\\\"},\\\"inner_eye\\\":{\\\"shape\\\":\\\"default\\\"},\\\"outer_eye\\\":{\\\"shape\\\":\\\"default\\\"},\\\"background\\\":{}},\\\"size\\\":{\\\"width\\\":200,\\\"quiet_zone\\\":4},\\\"output\\\":{\\\"filename\\\":\\\"qrcode\\\",\\\"format\\\":\\\"svg\\\"}}\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
110
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/text\"\nquerystring = {\"image\": \"\", \"metadata\": \"{\\\"data\\\":\\\"https://linqr.app\\\",\\\"image\\\":{\\\"modules\\\":true},\\\"style\\\":{\\\"module\\\":{\\\"color\\\":\\\"black\\\",\\\"shape\\\":\\\"default\\\"},\\\"inner_eye\\\":{\\\"shape\\\":\\\"default\\\"},\\\"outer_eye\\\":{\\\"shape\\\":\\\"default\\\"},\\\"background\\\":{}},\\\"size\\\":{\\\"width\\\":200,\\\"quiet_zone\\\":4},\\\"output\\\":{\\\"filename\\\":\\\"qrcode\\\",\\\"format\\\":\\\"svg\\\"}}\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
111
+ "test_endpoint": "",
112
+ "statuscode": 1,
113
+ "schema": ""
114
+ },
115
+ {
116
+ "name": "Upload image",
117
+ "url": "https://qrcode3.p.rapidapi.com/images",
118
+ "description": "This endpoint allows you to upload images to LinQR storage. In the response, metadata of the submitted image is sent, including the identifier used by other endpoints from the `Image management` group for image identification.",
119
+ "method": "POST",
120
+ "required_parameters": [
121
+ {
122
+ "name": "image",
123
+ "type": "BINARY",
124
+ "description": "Binary file to be uploaded into LinQR storage. Maximum single file size is 1MiB (1,048,576 bytes).",
125
+ "default": ""
126
+ }
127
+ ],
128
+ "optional_parameters": [],
129
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/images\"\nquerystring = {\"image\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
130
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/images\"\nquerystring = {\"image\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
131
+ "test_endpoint": "",
132
+ "statuscode": 1,
133
+ "schema": ""
134
+ },
135
+ {
136
+ "name": "Contact QR Code",
137
+ "url": "https://qrcode3.p.rapidapi.com/qrcode/contact",
138
+ "description": "This endpoint allows you to create a QR Code that allows user to quickly add contact information to the phone book. The code contains an appropriately encoded electronic business card. After scanning, the device prompts to save the contact in the phone book.",
139
+ "method": "POST",
140
+ "required_parameters": [
141
+ {
142
+ "name": "image",
143
+ "type": "BINARY",
144
+ "description": "",
145
+ "default": ""
146
+ },
147
+ {
148
+ "name": "metadata",
149
+ "type": "OBJECT",
150
+ "description": "",
151
+ "default": {
152
+ "data": {
153
+ "encoding": "vcard",
154
+ "last_name": "Doe",
155
+ "first_name": "John",
156
+ "display_name": "John Doe",
157
+ "photo": "Base64String...",
158
+ "organization": "My Organization",
159
+ "title": "Assistant",
160
+ "email": "user@example.com",
161
+ "phone": "+1-555-3863-999",
162
+ "cell_phone": "+1-453-5825-364",
163
+ "home_phone": "+1-342-5647-234",
164
+ "work_phone": "+1-234-7745-789",
165
+ "fax": "+1-601-5559-098",
166
+ "videophone": "+617-403-5552-419",
167
+ "memo": "Some note",
168
+ "nickname": "JohnD",
169
+ "birthday": "2019-08-24",
170
+ "url": "http://example.com",
171
+ "po_box": "12",
172
+ "street": "Cambridge St",
173
+ "city": "Philadelphia",
174
+ "region": "Philadelphia",
175
+ "zip_code": "22313",
176
+ "country": "Japan",
177
+ "latitude": 39.97121,
178
+ "longitude": -75.1605564,
179
+ "revision": "2019-08-24",
180
+ "source": "http://example.com"
181
+ },
182
+ "image": {
183
+ "modules": true
184
+ },
185
+ "style": {
186
+ "module": {
187
+ "color": "black",
188
+ "shape": "default"
189
+ },
190
+ "inner_eye": {
191
+ "shape": "default"
192
+ },
193
+ "outer_eye": {
194
+ "shape": "default"
195
+ },
196
+ "background": {}
197
+ },
198
+ "size": {
199
+ "width": 200,
200
+ "quiet_zone": 4
201
+ },
202
+ "output": {
203
+ "filename": "qrcode",
204
+ "format": "svg"
205
+ }
206
+ }
207
+ }
208
+ ],
209
+ "optional_parameters": [],
210
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/contact\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"encoding\": \"vcard\", \"last_name\": \"Doe\", \"first_name\": \"John\", \"display_name\": \"John Doe\", \"photo\": \"Base64String...\", \"organization\": \"My Organization\", \"title\": \"Assistant\", \"email\": \"user@example.com\", \"phone\": \"+1-555-3863-999\", \"cell_phone\": \"+1-453-5825-364\", \"home_phone\": \"+1-342-5647-234\", \"work_phone\": \"+1-234-7745-789\", \"fax\": \"+1-601-5559-098\", \"videophone\": \"+617-403-5552-419\", \"memo\": \"Some note\", \"nickname\": \"JohnD\", \"birthday\": \"2019-08-24\", \"url\": \"http://example.com\", \"po_box\": \"12\", \"street\": \"Cambridge St\", \"city\": \"Philadelphia\", \"region\": \"Philadelphia\", \"zip_code\": \"22313\", \"country\": \"Japan\", \"latitude\": 39.97121, \"longitude\": -75.1605564, \"revision\": \"2019-08-24\", \"source\": \"http://example.com\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
211
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/contact\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"encoding\": \"vcard\", \"last_name\": \"Doe\", \"first_name\": \"John\", \"display_name\": \"John Doe\", \"photo\": \"Base64String...\", \"organization\": \"My Organization\", \"title\": \"Assistant\", \"email\": \"user@example.com\", \"phone\": \"+1-555-3863-999\", \"cell_phone\": \"+1-453-5825-364\", \"home_phone\": \"+1-342-5647-234\", \"work_phone\": \"+1-234-7745-789\", \"fax\": \"+1-601-5559-098\", \"videophone\": \"+617-403-5552-419\", \"memo\": \"Some note\", \"nickname\": \"JohnD\", \"birthday\": \"2019-08-24\", \"url\": \"http://example.com\", \"po_box\": \"12\", \"street\": \"Cambridge St\", \"city\": \"Philadelphia\", \"region\": \"Philadelphia\", \"zip_code\": \"22313\", \"country\": \"Japan\", \"latitude\": 39.97121, \"longitude\": -75.1605564, \"revision\": \"2019-08-24\", \"source\": \"http://example.com\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
212
+ "test_endpoint": "",
213
+ "statuscode": 200,
214
+ "schema": {}
215
+ },
216
+ {
217
+ "name": "Geolocation QR Code",
218
+ "url": "https://qrcode3.p.rapidapi.com/qrcode/geo",
219
+ "description": "This endpoint allows you to create a QR Code that allows to share location with the user. The code contains appropriately encoded geographic coordinates. After scanning the code, device maps application is invoked, pointing to the selected location (address).",
220
+ "method": "POST",
221
+ "required_parameters": [
222
+ {
223
+ "name": "image",
224
+ "type": "BINARY",
225
+ "description": "",
226
+ "default": ""
227
+ },
228
+ {
229
+ "name": "metadata",
230
+ "type": "OBJECT",
231
+ "description": "",
232
+ "default": {
233
+ "data": {
234
+ "latitude": 40.689274,
235
+ "longitude": -74.044586,
236
+ "format": "rfc5870"
237
+ },
238
+ "image": {
239
+ "modules": true
240
+ },
241
+ "style": {
242
+ "module": {
243
+ "color": "black",
244
+ "shape": "default"
245
+ },
246
+ "inner_eye": {
247
+ "shape": "default"
248
+ },
249
+ "outer_eye": {
250
+ "shape": "default"
251
+ },
252
+ "background": {}
253
+ },
254
+ "size": {
255
+ "width": 200,
256
+ "quiet_zone": 4
257
+ },
258
+ "output": {
259
+ "filename": "qrcode",
260
+ "format": "svg"
261
+ }
262
+ }
263
+ }
264
+ ],
265
+ "optional_parameters": [],
266
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/geo\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"latitude\": 40.689274, \"longitude\": -74.044586, \"format\": \"rfc5870\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
267
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/geo\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"latitude\": 40.689274, \"longitude\": -74.044586, \"format\": \"rfc5870\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
268
+ "test_endpoint": "",
269
+ "statuscode": 1,
270
+ "schema": ""
271
+ },
272
+ {
273
+ "name": "Telephone QR Code",
274
+ "url": "https://qrcode3.p.rapidapi.com/qrcode/phone",
275
+ "description": "This endpoint allows you to create a QR Code that allows user to make quick telephone call. The code contains appropriately encoded telephone number. After scanning the code, device dialer is invoked with prefilled phone number. To make a call, the user only needs to press the green phone key.",
276
+ "method": "POST",
277
+ "required_parameters": [
278
+ {
279
+ "name": "metadata",
280
+ "type": "OBJECT",
281
+ "description": "",
282
+ "default": {
283
+ "data": {
284
+ "phone": "+1-701-5554-303"
285
+ },
286
+ "image": {
287
+ "modules": true
288
+ },
289
+ "style": {
290
+ "module": {
291
+ "color": "black",
292
+ "shape": "default"
293
+ },
294
+ "inner_eye": {
295
+ "shape": "default"
296
+ },
297
+ "outer_eye": {
298
+ "shape": "default"
299
+ },
300
+ "background": {}
301
+ },
302
+ "size": {
303
+ "width": 200,
304
+ "quiet_zone": 4
305
+ },
306
+ "output": {
307
+ "filename": "qrcode",
308
+ "format": "svg"
309
+ }
310
+ }
311
+ },
312
+ {
313
+ "name": "image",
314
+ "type": "BINARY",
315
+ "description": "",
316
+ "default": ""
317
+ }
318
+ ],
319
+ "optional_parameters": [],
320
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/phone\"\nquerystring = {\"metadata\": {\"data\": {\"phone\": \"+1-701-5554-303\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}, \"image\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
321
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/phone\"\nquerystring = {\"metadata\": {\"data\": {\"phone\": \"+1-701-5554-303\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}, \"image\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
322
+ "test_endpoint": "",
323
+ "statuscode": 1,
324
+ "schema": ""
325
+ },
326
+ {
327
+ "name": "Cryptocurrency payment QR Code",
328
+ "url": "https://qrcode3.p.rapidapi.com/qrcode/crypto",
329
+ "description": "This endpoint allows you to create a QR Code that allows user to make a quick cryptocurrency transfer. The code contains appropriately encoded data for the payment. After scanning the code, the cryptocurrency wallet application asks user to perform the transfer without rewriting all necessary data.",
330
+ "method": "POST",
331
+ "required_parameters": [
332
+ {
333
+ "name": "image",
334
+ "type": "BINARY",
335
+ "description": "",
336
+ "default": ""
337
+ },
338
+ {
339
+ "name": "metadata",
340
+ "type": "OBJECT",
341
+ "description": "",
342
+ "default": {
343
+ "data": {
344
+ "currency": "bitcoin",
345
+ "address": "1KXi...",
346
+ "label": "John Doe",
347
+ "amount": 0.001,
348
+ "message": "Some message"
349
+ },
350
+ "image": {
351
+ "modules": true
352
+ },
353
+ "style": {
354
+ "module": {
355
+ "color": "black",
356
+ "shape": "default"
357
+ },
358
+ "inner_eye": {
359
+ "shape": "default"
360
+ },
361
+ "outer_eye": {
362
+ "shape": "default"
363
+ },
364
+ "background": {}
365
+ },
366
+ "size": {
367
+ "width": 200,
368
+ "quiet_zone": 4
369
+ },
370
+ "output": {
371
+ "filename": "qrcode",
372
+ "format": "svg"
373
+ }
374
+ }
375
+ }
376
+ ],
377
+ "optional_parameters": [],
378
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/crypto\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"currency\": \"bitcoin\", \"address\": \"1KXi...\", \"label\": \"John Doe\", \"amount\": 0.001, \"message\": \"Some message\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
379
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/crypto\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"currency\": \"bitcoin\", \"address\": \"1KXi...\", \"label\": \"John Doe\", \"amount\": 0.001, \"message\": \"Some message\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
380
+ "test_endpoint": "",
381
+ "statuscode": 1,
382
+ "schema": ""
383
+ },
384
+ {
385
+ "name": "SMS QR Code",
386
+ "url": "https://qrcode3.p.rapidapi.com/qrcode/sms",
387
+ "description": "This endpoint allows you to create a QR Code that allows user to quickly send SMS. The code contains appropriately encoded recipient number and message template. After scanning the code, device message application is invoked with prefilled phone number and text, ready to be sent. To send a SMS, the user only needs to press *Send* button.",
388
+ "method": "POST",
389
+ "required_parameters": [
390
+ {
391
+ "name": "image",
392
+ "type": "BINARY",
393
+ "description": "",
394
+ "default": ""
395
+ },
396
+ {
397
+ "name": "metadata",
398
+ "type": "OBJECT",
399
+ "description": "",
400
+ "default": {
401
+ "data": {
402
+ "to": "+1-602-5552-149",
403
+ "message": "Hey! Sent by LinQR"
404
+ },
405
+ "image": {
406
+ "modules": true
407
+ },
408
+ "style": {
409
+ "module": {
410
+ "color": "black",
411
+ "shape": "default"
412
+ },
413
+ "inner_eye": {
414
+ "shape": "default"
415
+ },
416
+ "outer_eye": {
417
+ "shape": "default"
418
+ },
419
+ "background": {}
420
+ },
421
+ "size": {
422
+ "width": 200,
423
+ "quiet_zone": 4
424
+ },
425
+ "output": {
426
+ "filename": "qrcode",
427
+ "format": "svg"
428
+ }
429
+ }
430
+ }
431
+ ],
432
+ "optional_parameters": [],
433
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/sms\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"to\": \"+1-602-5552-149\", \"message\": \"Hey! Sent by LinQR\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
434
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/sms\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"to\": \"+1-602-5552-149\", \"message\": \"Hey! Sent by LinQR\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
435
+ "test_endpoint": "",
436
+ "statuscode": 1,
437
+ "schema": ""
438
+ },
439
+ {
440
+ "name": "WiFi QR Code",
441
+ "url": "https://qrcode3.p.rapidapi.com/qrcode/wifi",
442
+ "description": "This endpoint allows you to create a QR Code that allows user to quickly connect to a WiFi network. The code contains properly encoded network credentials. After scanning, the device can automatically connect to the network without having to enter the password manually.",
443
+ "method": "POST",
444
+ "required_parameters": [
445
+ {
446
+ "name": "metadata",
447
+ "type": "OBJECT",
448
+ "description": "",
449
+ "default": {
450
+ "data": {
451
+ "ssid": "My WiFi network name",
452
+ "password": "Pass!&#^@#*@",
453
+ "security": "WPA",
454
+ "hidden": false
455
+ },
456
+ "image": {
457
+ "modules": true
458
+ },
459
+ "style": {
460
+ "module": {
461
+ "color": "black",
462
+ "shape": "default"
463
+ },
464
+ "inner_eye": {
465
+ "shape": "default"
466
+ },
467
+ "outer_eye": {
468
+ "shape": "default"
469
+ },
470
+ "background": {}
471
+ },
472
+ "size": {
473
+ "width": 200,
474
+ "quiet_zone": 4
475
+ },
476
+ "output": {
477
+ "filename": "qrcode",
478
+ "format": "svg"
479
+ }
480
+ }
481
+ },
482
+ {
483
+ "name": "image",
484
+ "type": "BINARY",
485
+ "description": "",
486
+ "default": ""
487
+ }
488
+ ],
489
+ "optional_parameters": [],
490
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/wifi\"\nquerystring = {\"metadata\": {\"data\": {\"ssid\": \"My WiFi network name\", \"password\": \"Pass!&#^@#*@\", \"security\": \"WPA\", \"hidden\": false}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}, \"image\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
491
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/wifi\"\nquerystring = {\"metadata\": {\"data\": {\"ssid\": \"My WiFi network name\", \"password\": \"Pass!&#^@#*@\", \"security\": \"WPA\", \"hidden\": false}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}, \"image\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
492
+ "test_endpoint": "",
493
+ "statuscode": 1,
494
+ "schema": ""
495
+ },
496
+ {
497
+ "name": "Arbitrary data type QR Code",
498
+ "url": "https://qrcode3.p.rapidapi.com/qrcode",
499
+ "description": "This endpoint aggregates the functionality of all other endpoints in the group. The data type in the `data` field is recognized automatically and the data is encoded in an appropriate way.",
500
+ "method": "POST",
501
+ "required_parameters": [
502
+ {
503
+ "name": "metadata",
504
+ "type": "OBJECT",
505
+ "description": "",
506
+ "default": {
507
+ "data": "https://linqr.app",
508
+ "image": {
509
+ "modules": true
510
+ },
511
+ "style": {
512
+ "module": {
513
+ "color": "black",
514
+ "shape": "default"
515
+ },
516
+ "inner_eye": {
517
+ "shape": "default"
518
+ },
519
+ "outer_eye": {
520
+ "shape": "default"
521
+ },
522
+ "background": {}
523
+ },
524
+ "size": {
525
+ "width": 200,
526
+ "quiet_zone": 4
527
+ },
528
+ "output": {
529
+ "filename": "qrcode",
530
+ "format": "svg"
531
+ }
532
+ }
533
+ },
534
+ {
535
+ "name": "image",
536
+ "type": "BINARY",
537
+ "description": "",
538
+ "default": ""
539
+ }
540
+ ],
541
+ "optional_parameters": [],
542
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode\"\nquerystring = {\"metadata\": {\"data\": \"https://linqr.app\", \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}, \"image\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
543
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode\"\nquerystring = {\"metadata\": {\"data\": \"https://linqr.app\", \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}, \"image\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
544
+ "test_endpoint": "",
545
+ "statuscode": 1,
546
+ "schema": ""
547
+ },
548
+ {
549
+ "name": "Email QR Code",
550
+ "url": "https://qrcode3.p.rapidapi.com/qrcode/email",
551
+ "description": "This endpoint allows the creation of a QR Code allowing the user to quickly send an email. The code contains an appropriately encoded message template. After scanning, the device starts the e-mail client with pre-filled specified fields.",
552
+ "method": "POST",
553
+ "required_parameters": [
554
+ {
555
+ "name": "image",
556
+ "type": "BINARY",
557
+ "description": "",
558
+ "default": ""
559
+ },
560
+ {
561
+ "name": "metadata",
562
+ "type": "OBJECT",
563
+ "description": "",
564
+ "default": {
565
+ "data": {
566
+ "to": "user@example.com",
567
+ "cc": "user@example.com",
568
+ "bcc": "user@example.com",
569
+ "subject": "Example subject",
570
+ "body": "Example message body for Email QRCode.\n\nRegards,\nLinQR"
571
+ },
572
+ "image": {
573
+ "modules": true
574
+ },
575
+ "style": {
576
+ "module": {
577
+ "color": "black",
578
+ "shape": "default"
579
+ },
580
+ "inner_eye": {
581
+ "shape": "default"
582
+ },
583
+ "outer_eye": {
584
+ "shape": "default"
585
+ },
586
+ "background": {}
587
+ },
588
+ "size": {
589
+ "width": 200,
590
+ "quiet_zone": 4
591
+ },
592
+ "output": {
593
+ "filename": "qrcode",
594
+ "format": "svg"
595
+ }
596
+ }
597
+ }
598
+ ],
599
+ "optional_parameters": [],
600
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/email\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"to\": \"user@example.com\", \"cc\": \"user@example.com\", \"bcc\": \"user@example.com\", \"subject\": \"Example subject\", \"body\": \"Example message body for Email QRCode.\\n\\nRegards,\\nLinQR\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
601
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/qrcode/email\"\nquerystring = {\"image\": \"\", \"metadata\": {\"data\": {\"to\": \"user@example.com\", \"cc\": \"user@example.com\", \"bcc\": \"user@example.com\", \"subject\": \"Example subject\", \"body\": \"Example message body for Email QRCode.\\n\\nRegards,\\nLinQR\"}, \"image\": {\"modules\": true}, \"style\": {\"module\": {\"color\": \"black\", \"shape\": \"default\"}, \"inner_eye\": {\"shape\": \"default\"}, \"outer_eye\": {\"shape\": \"default\"}, \"background\": {}}, \"size\": {\"width\": 200, \"quiet_zone\": 4}, \"output\": {\"filename\": \"qrcode\", \"format\": \"svg\"}}}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
602
+ "test_endpoint": "",
603
+ "statuscode": 1,
604
+ "schema": ""
605
+ },
606
+ {
607
+ "name": "QR Code Batch",
608
+ "url": "https://qrcode3.p.rapidapi.com/batch/qrcode",
609
+ "description": "This endpoint allows you to generate an archive containing multiple QR Codes with a single request. The endpoint response is the archive containing the generated image files and `items.json` file which is a record of the specifications of each of the files in the archive.",
610
+ "method": "POST",
611
+ "required_parameters": [],
612
+ "optional_parameters": [],
613
+ "code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/batch/qrcode\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
614
+ "convert_code": "import requests\n\nurl = \"https://qrcode3.p.rapidapi.com/batch/qrcode\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode3.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
615
+ "test_endpoint": "",
616
+ "statuscode": 1,
617
+ "schema": ""
618
+ }
619
+ ],
620
+ "standardized_name": "qrcode"
621
+ }
toolbench/toolenv/tools/Tools/qrcode/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 list_image(is_id: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "This endpoint allows you to list single image hosted in the LinQR storage."
12
+
13
+ """
14
+ url = f"https://qrcode3.p.rapidapi.com/images/{is_id}"
15
+ querystring = {}
16
+
17
+ headers = {
18
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
19
+ "X-RapidAPI-Host": "qrcode3.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 list_all_images(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
31
+ """
32
+ "This endpoint allows you to list images hosted in the LinQR storage. If there are no images hosted, an empty array is returned."
33
+
34
+ """
35
+ url = f"https://qrcode3.p.rapidapi.com/images"
36
+ querystring = {}
37
+
38
+ headers = {
39
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
40
+ "X-RapidAPI-Host": "qrcode3.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/Tools/qrcode_api/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 qrcode_image_copy(data: str='www.youtube.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "GET request to qr code image"
12
+
13
+ """
14
+ url = f"https://qrcode-api7.p.rapidapi.com/qr_code"
15
+ querystring = {}
16
+ if data:
17
+ querystring['data'] = data
18
+
19
+ headers = {
20
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
21
+ "X-RapidAPI-Host": "qrcode-api7.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/Tools/qrcode_api_a_powerful_tool_for_generating_qr_codes_from_urls.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QRCode API - A Powerful Tool for Generating QR Codes from URLs",
3
+ "tool_description":"A simple and efficient tool for generating QR codes from URLs. With just a GET request, you can turn any URL into a QR code image for use in marketing materials, websites, and more. Built using Node.js, the API is fast, reliable, and easy for developers of all levels to use. Streamline your QR code generation process and simplify your marketing strategies with the QR Code API.",
4
+ "title":"QRCode API - A Powerful Tool for Generating QR Codes from URLs",
5
+ "pricing":"FREEMIUM",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/quangit8888/api/qrcode-api-a-powerful-tool-for-generating-qr-codes-from-urls/",
8
+ "host":"qrcode-api-a-powerful-tool-for-generating-qr-codes-from-urls.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"Generate QR Code",
12
+ "url":"https://qrcode-api-a-powerful-tool-for-generating-qr-codes-from-urls.p.rapidapi.com/qr-code",
13
+ "description":"The API endpoint is a simple GET request. The URL to encode should be passed as a parameter to the endpoint.",
14
+ "method":"GET",
15
+ "required_parameters":[
16
+ {
17
+ "name":"url",
18
+ "type":"STRING",
19
+ "description":"",
20
+ "default":"https://rapidapi.com/"
21
+ }
22
+ ],
23
+ "optional_parameters":[],
24
+ "code":"import requests\n\nurl = \"https://qrcode-api-a-powerful-tool-for-generating-qr-codes-from-urls.p.rapidapi.com/qr-code\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode-api-a-powerful-tool-for-generating-qr-codes-from-urls.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/Tools/qrcode_api_a_powerful_tool_for_generating_qr_codes_from_urls/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_qr_code(url: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "The API endpoint is a simple GET request. The URL to encode should be passed as a parameter to the endpoint."
12
+
13
+ """
14
+ url = f"https://qrcode-api-a-powerful-tool-for-generating-qr-codes-from-urls.p.rapidapi.com/qr-code"
15
+ querystring = {'url': url, }
16
+
17
+ headers = {
18
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
19
+ "X-RapidAPI-Host": "qrcode-api-a-powerful-tool-for-generating-qr-codes-from-urls.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/Tools/qrcode_api_v2/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_code_convert_api(url: str='www.google.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "QR Code convert api to string"
12
+
13
+ """
14
+ url = f"https://qrcode-api9.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": "qrcode-api9.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/Tools/qrcode_api_v3/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 create_qrcode_image_and_dowload(url: str='https://www.google.com/', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Create a QRcode image and Dowload that image"
12
+
13
+ """
14
+ url = f"https://qrcode-api6.p.rapidapi.com/"
15
+ querystring = {}
16
+ if url:
17
+ querystring['url'] = url
18
+
19
+ headers = {
20
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
21
+ "X-RapidAPI-Host": "qrcode-api6.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/Tools/qrcode_generator.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "product_id": "api_58249fc6-1c8a-4bbc-a5b8-9c154bb4fef1",
3
+ "tool_description": "This API allows you to generate QR codes from a provided URL or text content. You can customize the appearance of the QR code by specifying options such as margin, background color, and foreground color. The API accepts both GET and POST requests.",
4
+ "home_url": "https://rapidapi.com/afilummer/api/qrcode-generator22/",
5
+ "name": "Qrcode Generator",
6
+ "title": "Qrcode Generator",
7
+ "pricing": "FREEMIUM",
8
+ "tool_name": "Qrcode Generator",
9
+ "score": {
10
+ "avgServiceLevel": 100,
11
+ "avgLatency": 2042,
12
+ "avgSuccessRate": 100,
13
+ "popularityScore": 8.1,
14
+ "__typename": "Score"
15
+ },
16
+ "host": "qrcode-generator22.p.rapidapi.com",
17
+ "api_list": [
18
+ {
19
+ "name": "Create Qrcode with custom content and colour",
20
+ "url": "https://qrcode-generator22.p.rapidapi.com/",
21
+ "description": "Create QR codes with the given content and color.",
22
+ "method": "POST",
23
+ "required_parameters": [],
24
+ "optional_parameters": [],
25
+ "code": "import requests\n\nurl = \"https://qrcode-generator22.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode-generator22.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
26
+ "convert_code": "import requests\n\nurl = \"https://qrcode-generator22.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode-generator22.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
27
+ "test_endpoint": ""
28
+ }
29
+ ]
30
+ }
toolbench/toolenv/tools/Tools/qrcode_generator_base64.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"qrcode-generator-base64",
3
+ "tool_description":"Our QR code generator API allows you to generate QR codes for various types of data, including text, URLs, phone numbers, SMS messages, and email addresses. The API returns a base64-encoded image of the QR code, which can be easily decoded and displayed in any web or mobile application. With our API, you can quickly and easily integrate QR code generation into your application, allowing your users to create and scan QR codes on the go. Sign up for our API today and start generating high-quali...",
4
+ "title":"qrcode-generator-base64",
5
+ "pricing":"FREEMIUM",
6
+ "score":{
7
+ "avgServiceLevel":100,
8
+ "avgLatency":302,
9
+ "avgSuccessRate":63,
10
+ "popularityScore":9.1,
11
+ "__typename":"Score"
12
+ },
13
+ "home_url":"https://rapidapi.com/dev.balmuda/api/qrcode-generator-base64/",
14
+ "host":"qrcode-generator-base64.p.rapidapi.com",
15
+ "api_list":[
16
+ {
17
+ "name":"qrcode",
18
+ "url":"https://qrcode-generator-base64.p.rapidapi.com/qrcode",
19
+ "description":"qrcode to genrate base64 qrcode image",
20
+ "method":"GET",
21
+ "required_parameters":[
22
+ {
23
+ "name":"name",
24
+ "type":"STRING",
25
+ "description":"",
26
+ "default":"name"
27
+ }
28
+ ],
29
+ "optional_parameters":[],
30
+ "code":"import requests\n\nurl = \"https://qrcode-generator-base64.p.rapidapi.com/qrcode\"\nquerystring = {\"name\": name}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode-generator-base64.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/Tools/qrcode_generator_base64/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 qrcode(name: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "qrcode to genrate base64 qrcode image"
12
+
13
+ """
14
+ url = f"https://qrcode-generator-base64.p.rapidapi.com/qrcode"
15
+ querystring = {'name': name, }
16
+
17
+ headers = {
18
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
19
+ "X-RapidAPI-Host": "qrcode-generator-base64.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/Tools/qrcode_generator_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 qrcode_creator(url: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "convert string to qrcode"
12
+
13
+ """
14
+ url = f"https://qrcode-generator18.p.rapidapi.com/qrcode"
15
+ querystring = {'url': url, }
16
+
17
+ headers = {
18
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
19
+ "X-RapidAPI-Host": "qrcode-generator18.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/Tools/qrcode_generator_v3/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_qrcode(data: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Generate Qrcode by passing data to generate QRcode"
12
+
13
+ """
14
+ url = f"https://qrcode-generator12.p.rapidapi.com/v1/qrcode/{data}"
15
+ querystring = {}
16
+
17
+ headers = {
18
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
19
+ "X-RapidAPI-Host": "qrcode-generator12.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/Tools/qrcode_supercharged.json ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name": "qrcode-supercharged",
3
+ "tool_description": "QR code builder, with full SVG & gradient support, logo rendering, and automated error check. GUI builder using this API: https://qrcode-builder.apiroad.net Each QR code is validated automatically on the server before final output, so you will never download broken QR code!",
4
+ "title": "qrcode-supercharged",
5
+ "pricing": "FREEMIUM",
6
+ "score": {
7
+ "avgServiceLevel": 85,
8
+ "avgLatency": 13589,
9
+ "avgSuccessRate": 85,
10
+ "popularityScore": 8.7,
11
+ "__typename": "Score"
12
+ },
13
+ "home_url": "https://rapidapi.com/restyler/api/qrcode-supercharged/",
14
+ "host": "qrcode-supercharged.p.rapidapi.com",
15
+ "api_list": [
16
+ {
17
+ "name": "Generate QR code with external logo URL",
18
+ "url": "https://qrcode-supercharged.p.rapidapi.com/",
19
+ "description": "Generate QR code with logo url specified in GET param. Very convenient for quick testing.\nWARNING: RapidAPI preview is not working properly for binary API output! Use \"Code snippets\" to properly test the API.",
20
+ "method": "GET",
21
+ "required_parameters": [
22
+ {
23
+ "name": "text",
24
+ "type": "STRING",
25
+ "description": "",
26
+ "default": "https://rapidapi.com"
27
+ }
28
+ ],
29
+ "optional_parameters": [
30
+ {
31
+ "name": "size",
32
+ "type": "NUMBER",
33
+ "description": "QR code size",
34
+ "default": "400"
35
+ },
36
+ {
37
+ "name": "eye_style",
38
+ "type": "ENUM",
39
+ "description": "",
40
+ "default": ""
41
+ },
42
+ {
43
+ "name": "block_style",
44
+ "type": "ENUM",
45
+ "description": "",
46
+ "default": ""
47
+ },
48
+ {
49
+ "name": "bg_color",
50
+ "type": "STRING",
51
+ "description": "",
52
+ "default": "FFFFFF"
53
+ },
54
+ {
55
+ "name": "validate",
56
+ "type": "NUMBER",
57
+ "description": "Validate QR code after generation to avoid broken codes due to too large logo or low contrast.",
58
+ "default": "1"
59
+ },
60
+ {
61
+ "name": "gradient_color_end",
62
+ "type": "STRING",
63
+ "description": "",
64
+ "default": "00FF00"
65
+ },
66
+ {
67
+ "name": "gradient",
68
+ "type": "NUMBER",
69
+ "description": "Set to 0 to disable gradient.",
70
+ "default": "1"
71
+ },
72
+ {
73
+ "name": "gradient_color_start",
74
+ "type": "STRING",
75
+ "description": "",
76
+ "default": "FF0000"
77
+ },
78
+ {
79
+ "name": "gradient_type",
80
+ "type": "ENUM",
81
+ "description": "",
82
+ "default": ""
83
+ },
84
+ {
85
+ "name": "logo_size",
86
+ "type": "NUMBER",
87
+ "description": "",
88
+ "default": "0.22"
89
+ },
90
+ {
91
+ "name": "fg_color",
92
+ "type": "STRING",
93
+ "description": "QR code foreground color in HEX. This is ignored if gradient mode is active.",
94
+ "default": "FF0000"
95
+ },
96
+ {
97
+ "name": "format",
98
+ "type": "ENUM",
99
+ "description": "QR code output format.",
100
+ "default": ""
101
+ },
102
+ {
103
+ "name": "logo_url",
104
+ "type": "STRING",
105
+ "description": "URL to svg, png or jpg image, which will be used as logo in the QR code center.",
106
+ "default": "https://cdn.auth0.com/blog/symfony-blog/logo.png"
107
+ }
108
+ ],
109
+ "code": "import requests\n\nurl = \"https://qrcode-supercharged.p.rapidapi.com/\"\nquerystring = {\"size\": size, \"bg_color\": bg_color, \"text\": text, \"validate\": validate, \"gradient_color_end\": gradient_color_end, \"gradient\": gradient, \"gradient_color_start\": gradient_color_start, \"logo_size\": logo_size, \"fg_color\": fg_color, \"logo_url\": logo_url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode-supercharged.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
110
+ "statuscode": 200,
111
+ "body": {
112
+ "binary": "file. Use code snippets because RapidAPI preview cannot render QR code image here properly!"
113
+ },
114
+ "headers": {},
115
+ "schema": {}
116
+ },
117
+ {
118
+ "name": "Generate QR code with logo upload",
119
+ "url": "https://qrcode-supercharged.p.rapidapi.com/",
120
+ "description": "QR code generation via multipart POST request, for convenient file uploads",
121
+ "method": "POST",
122
+ "required_parameters": [
123
+ {
124
+ "name": "logo_upload",
125
+ "type": "BINARY",
126
+ "description": "Upload svg, jpg or png logo. ",
127
+ "default": ""
128
+ },
129
+ {
130
+ "name": "text",
131
+ "type": "STRING",
132
+ "description": "",
133
+ "default": "https://rapidapi.com"
134
+ }
135
+ ],
136
+ "optional_parameters": [
137
+ {
138
+ "name": "gradient_color_end",
139
+ "type": "STRING",
140
+ "description": "",
141
+ "default": "00FF00"
142
+ },
143
+ {
144
+ "name": "format",
145
+ "type": "ENUM",
146
+ "description": "",
147
+ "default": ""
148
+ },
149
+ {
150
+ "name": "fg_color",
151
+ "type": "STRING",
152
+ "description": "",
153
+ "default": "FF0000"
154
+ },
155
+ {
156
+ "name": "logo_size",
157
+ "type": "NUMBER",
158
+ "description": "",
159
+ "default": "0.22"
160
+ },
161
+ {
162
+ "name": "eye_style",
163
+ "type": "ENUM",
164
+ "description": "",
165
+ "default": ""
166
+ },
167
+ {
168
+ "name": "validate",
169
+ "type": "NUMBER",
170
+ "description": "",
171
+ "default": "1"
172
+ },
173
+ {
174
+ "name": "gradient",
175
+ "type": "NUMBER",
176
+ "description": "",
177
+ "default": "1"
178
+ },
179
+ {
180
+ "name": "gradient_type",
181
+ "type": "ENUM",
182
+ "description": "",
183
+ "default": ""
184
+ },
185
+ {
186
+ "name": "bg_color",
187
+ "type": "STRING",
188
+ "description": "",
189
+ "default": "FFFFFF"
190
+ },
191
+ {
192
+ "name": "size",
193
+ "type": "NUMBER",
194
+ "description": "",
195
+ "default": "400"
196
+ },
197
+ {
198
+ "name": "gradient_color_start",
199
+ "type": "STRING",
200
+ "description": "",
201
+ "default": "FF0000"
202
+ },
203
+ {
204
+ "name": "block_style",
205
+ "type": "ENUM",
206
+ "description": "",
207
+ "default": ""
208
+ }
209
+ ],
210
+ "code": "import requests\n\nurl = \"https://qrcode-supercharged.p.rapidapi.com/\"\nquerystring = {\"logo_upload\": logo_upload, \"gradient_color_end\": gradient_color_end, \"fg_color\": fg_color, \"logo_size\": logo_size, \"validate\": validate, \"gradient\": gradient, \"text\": text, \"bg_color\": bg_color, \"size\": size, \"gradient_color_start\": gradient_color_start}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode-supercharged.p.rapidapi.com\"\n}\n\nresponse = requests.post(url, headers=headers, params=querystring)\n\nprint(response.json())\n",
211
+ "statuscode": 111,
212
+ "body": "",
213
+ "headers": "",
214
+ "schema": ""
215
+ },
216
+ {
217
+ "name": "Generate QR code with logo upload",
218
+ "url": "https://qrcode-supercharged.p.rapidapi.com/",
219
+ "description": "QR code generation via multipart POST request, for convenient file uploads",
220
+ "method": "POST",
221
+ "required_parameters": [
222
+ {
223
+ "name": "logo_upload",
224
+ "type": "BINARY",
225
+ "description": "Upload svg, jpg or png logo. ",
226
+ "default": ""
227
+ },
228
+ {
229
+ "name": "text",
230
+ "type": "STRING",
231
+ "description": "",
232
+ "default": "https://rapidapi.com"
233
+ }
234
+ ],
235
+ "optional_parameters": [
236
+ {
237
+ "name": "gradient_color_end",
238
+ "type": "STRING",
239
+ "description": "",
240
+ "default": "00FF00"
241
+ },
242
+ {
243
+ "name": "format",
244
+ "type": "ENUM",
245
+ "description": "",
246
+ "default": ""
247
+ },
248
+ {
249
+ "name": "fg_color",
250
+ "type": "STRING",
251
+ "description": "",
252
+ "default": "FF0000"
253
+ },
254
+ {
255
+ "name": "logo_size",
256
+ "type": "NUMBER",
257
+ "description": "",
258
+ "default": "0.22"
259
+ },
260
+ {
261
+ "name": "eye_style",
262
+ "type": "ENUM",
263
+ "description": "",
264
+ "default": ""
265
+ },
266
+ {
267
+ "name": "validate",
268
+ "type": "NUMBER",
269
+ "description": "",
270
+ "default": "1"
271
+ },
272
+ {
273
+ "name": "gradient",
274
+ "type": "NUMBER",
275
+ "description": "",
276
+ "default": "1"
277
+ },
278
+ {
279
+ "name": "gradient_type",
280
+ "type": "ENUM",
281
+ "description": "",
282
+ "default": ""
283
+ },
284
+ {
285
+ "name": "bg_color",
286
+ "type": "STRING",
287
+ "description": "",
288
+ "default": "FFFFFF"
289
+ },
290
+ {
291
+ "name": "size",
292
+ "type": "NUMBER",
293
+ "description": "",
294
+ "default": "400"
295
+ },
296
+ {
297
+ "name": "gradient_color_start",
298
+ "type": "STRING",
299
+ "description": "",
300
+ "default": "FF0000"
301
+ },
302
+ {
303
+ "name": "block_style",
304
+ "type": "ENUM",
305
+ "description": "",
306
+ "default": ""
307
+ }
308
+ ],
309
+ "code": "import requests\n\nurl = \"https://qrcode-supercharged.p.rapidapi.com/\"\nquerystring = {\"logo_upload\": \"\", \"gradient_color_end\": \"00FF00\", \"format\": \"\", \"fg_color\": \"FF0000\", \"logo_size\": \"0.22\", \"eye_style\": \"\", \"validate\": \"1\", \"gradient\": \"1\", \"text\": \"https://rapidapi.com\", \"gradient_type\": \"\", \"bg_color\": \"FFFFFF\", \"size\": \"400\", \"gradient_color_start\": \"FF0000\", \"block_style\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode-supercharged.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
310
+ "convert_code": "import requests\n\nurl = \"https://qrcode-supercharged.p.rapidapi.com/\"\nquerystring = {\"logo_upload\": \"\", \"gradient_color_end\": \"00FF00\", \"format\": \"\", \"fg_color\": \"FF0000\", \"logo_size\": \"0.22\", \"eye_style\": \"\", \"validate\": \"1\", \"gradient\": \"1\", \"text\": \"https://rapidapi.com\", \"gradient_type\": \"\", \"bg_color\": \"FFFFFF\", \"size\": \"400\", \"gradient_color_start\": \"FF0000\", \"block_style\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcode-supercharged.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n",
311
+ "test_endpoint": ""
312
+ }
313
+ ]
314
+ }
toolbench/toolenv/tools/Tools/qrcode_supercharged/api.py ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_qr_code_with_external_logo_url(text: str, size: int=400, eye_style: str=None, block_style: str=None, bg_color: str='FFFFFF', validate: int=1, gradient_color_end: str='00FF00', gradient: int=1, gradient_color_start: str='FF0000', gradient_type: str=None, logo_size: int=0, fg_color: str='FF0000', format: str=None, logo_url: str='https://cdn.auth0.com/blog/symfony-blog/logo.png', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Generate QR code with logo url specified in GET param. Very convenient for quick testing.
12
+ WARNING: RapidAPI preview is not working properly for binary API output! Use "Code snippets" to properly test the API."
13
+ size: QR code size
14
+ validate: Validate QR code after generation to avoid broken codes due to too large logo or low contrast.
15
+ gradient: Set to 0 to disable gradient.
16
+ fg_color: QR code foreground color in HEX. This is ignored if gradient mode is active.
17
+ format: QR code output format.
18
+ logo_url: URL to svg, png or jpg image, which will be used as logo in the QR code center.
19
+
20
+ """
21
+ url = f"https://qrcode-supercharged.p.rapidapi.com/"
22
+ querystring = {'text': text, }
23
+ if size:
24
+ querystring['size'] = size
25
+ if eye_style:
26
+ querystring['eye_style'] = eye_style
27
+ if block_style:
28
+ querystring['block_style'] = block_style
29
+ if bg_color:
30
+ querystring['bg_color'] = bg_color
31
+ if validate:
32
+ querystring['validate'] = validate
33
+ if gradient_color_end:
34
+ querystring['gradient_color_end'] = gradient_color_end
35
+ if gradient:
36
+ querystring['gradient'] = gradient
37
+ if gradient_color_start:
38
+ querystring['gradient_color_start'] = gradient_color_start
39
+ if gradient_type:
40
+ querystring['gradient_type'] = gradient_type
41
+ if logo_size:
42
+ querystring['logo_size'] = logo_size
43
+ if fg_color:
44
+ querystring['fg_color'] = fg_color
45
+ if format:
46
+ querystring['format'] = format
47
+ if logo_url:
48
+ querystring['logo_url'] = logo_url
49
+
50
+ headers = {
51
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
52
+ "X-RapidAPI-Host": "qrcode-supercharged.p.rapidapi.com"
53
+ }
54
+
55
+
56
+ response = requests.get(url, headers=headers, params=querystring)
57
+ try:
58
+ observation = response.json()
59
+ except:
60
+ observation = response.text
61
+ return observation
62
+
toolbench/toolenv/tools/Tools/qrcode_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 qrcode_creator(url: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Convert string to QrCode"
12
+
13
+ """
14
+ url = f"https://qrcode51.p.rapidapi.com/qr"
15
+ querystring = {'url': url, }
16
+
17
+ headers = {
18
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
19
+ "X-RapidAPI-Host": "qrcode51.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/Tools/qrcode_v3/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_code_image(url: str='www.google.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "qrcode"
12
+
13
+ """
14
+ url = f"https://qrcode46.p.rapidapi.com/api/qr"
15
+ querystring = {}
16
+ if url:
17
+ querystring['url'] = url
18
+
19
+ headers = {
20
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
21
+ "X-RapidAPI-Host": "qrcode46.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/Tools/qrcodegenapi.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QRCodeGenAPI",
3
+ "tool_description":"Generates QR code for any URL. \nThe API takes URL as String and returns QR code image.\n\n\n ",
4
+ "title":"QRCodeGenAPI",
5
+ "pricing":"FREEMIUM",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/akshatshukla175/api/qrcodegenapi/",
8
+ "host":"qrcodegenapi.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"QR Code Generator GET",
12
+ "url":"https://qrcodegenapi.p.rapidapi.com/qr",
13
+ "description":"This end point takes a 'GET' request with url as string parameter and returns a qr code image",
14
+ "method":"GET",
15
+ "required_parameters":[
16
+ {
17
+ "name":"url",
18
+ "type":"STRING",
19
+ "description":"",
20
+ "default":"www.google.com"
21
+ }
22
+ ],
23
+ "optional_parameters":[],
24
+ "code":"import requests\n\nurl = \"https://qrcodegenapi.p.rapidapi.com/qr\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcodegenapi.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/Tools/qrcodegenapi/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 qr_code_generator_get(url: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "This end point takes a 'GET' request with url as string parameter and returns a qr code image"
12
+
13
+ """
14
+ url = f"https://qrcodegenapi.p.rapidapi.com/qr"
15
+ querystring = {'url': url, }
16
+
17
+ headers = {
18
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
19
+ "X-RapidAPI-Host": "qrcodegenapi.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/Tools/qrcodegenerator.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QRCodeGenerator",
3
+ "tool_description":"This API takes URL and converts to QR image and returns back.\nThis API runs with Python Flask Server and it is super fast.\nYou have to just send URL and you will receive QR Code image in response with download.",
4
+ "title":"QRCodeGenerator",
5
+ "pricing":"PAID",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/ashishnikumbh/api/qrcodegenerator4/",
8
+ "host":"qrcodegenerator4.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"QRCodeImage",
12
+ "url":"https://qrcodegenerator4.p.rapidapi.com/qr",
13
+ "description":"This endpoint takes a 'GET' request with url/string as a parameter and returns qr code image",
14
+ "method":"GET",
15
+ "required_parameters":[],
16
+ "optional_parameters":[
17
+ {
18
+ "name":"url",
19
+ "type":"STRING",
20
+ "description":"",
21
+ "default":"www.google.com"
22
+ }
23
+ ],
24
+ "code":"import requests\n\nurl = \"https://qrcodegenerator4.p.rapidapi.com/qr\"\nquerystring = {\"url\": url}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcodegenerator4.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/Tools/qrcodegenerator/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 qrcodeimage(url: str='www.google.com', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "This endpoint takes a 'GET' request with url/string as a parameter and returns qr code image"
12
+
13
+ """
14
+ url = f"https://qrcodegenerator4.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": "qrcodegenerator4.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/Tools/qrcodegenie_your_qr_code_companion.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool_name":"QRCodeGenie: Your QR Code Companion",
3
+ "tool_description":"Unlock the potential of QR codes with our user-friendly Flask app, QRCodeGenie. Our innovative app generates custom QR codes for any string you provide, making it easy to share information, links, and more. Businesses can use QRCodeGenie to improve customer interactions and streamline processes, while individuals can use it to share contact information with ease. With QRCodeGenie, creating and sharing QR codes has never been simpler. Try it today and experience the convenience for yourself.",
4
+ "title":"QRCodeGenie: Your QR Code Companion",
5
+ "pricing":"PAID",
6
+ "score":null,
7
+ "home_url":"https://rapidapi.com/vivekgpt107/api/qrcodegenie-your-qr-code-companion/",
8
+ "host":"qrcodegenie-your-qr-code-companion.p.rapidapi.com",
9
+ "api_list":[
10
+ {
11
+ "name":"QRCodeGenie: Your QR Code Companion",
12
+ "url":"https://qrcodegenie-your-qr-code-companion.p.rapidapi.com/qr",
13
+ "description":"Unlock the potential of QR codes with our user-friendly Flask app, QRCodeGenie. Our innovative app generates custom QR codes for any string you provide, making it easy to share information, links, and more. Businesses can use QRCodeGenie to improve customer interactions and streamline processes, while individuals can use it to share contact information with ease. With QRCodeGenie, creating and sharing QR codes has never been simpler. Try it today and experience the convenience for yourself.",
14
+ "method":"GET",
15
+ "required_parameters":[
16
+ {
17
+ "name":"m",
18
+ "type":"STRING",
19
+ "description":"",
20
+ "default":"www.example.com"
21
+ }
22
+ ],
23
+ "optional_parameters":[],
24
+ "code":"import requests\n\nurl = \"https://qrcodegenie-your-qr-code-companion.p.rapidapi.com/qr\"\nquerystring = {\"m\": m}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcodegenie-your-qr-code-companion.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/Tools/qrcodegenie_your_qr_code_companion/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 qrcodegenie_your_qr_code_companion(m: str, toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Unlock the potential of QR codes with our user-friendly Flask app, QRCodeGenie. Our innovative app generates custom QR codes for any string you provide, making it easy to share information, links, and more. Businesses can use QRCodeGenie to improve customer interactions and streamline processes, while individuals can use it to share contact information with ease. With QRCodeGenie, creating and sharing QR codes has never been simpler. Try it today and experience the convenience for yourself."
12
+
13
+ """
14
+ url = f"https://qrcodegenie-your-qr-code-companion.p.rapidapi.com/qr"
15
+ querystring = {'m': m, }
16
+
17
+ headers = {
18
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
19
+ "X-RapidAPI-Host": "qrcodegenie-your-qr-code-companion.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/Tools/qrcodestyleapi.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "product_id": "api_c96406d9-b987-4b7b-9f86-4dfa55beb242",
3
+ "tool_description": "QR Code Style Generator Api. Give life to your QR Code with colors and custom graphics. PNG&SVG and data raw format",
4
+ "home_url": "https://rapidapi.com/auysal60-IwQqyLOPzS/api/qrcodestyleapi/",
5
+ "name": "QRCodeStyleApi",
6
+ "title": "QRCodeStyleApi",
7
+ "pricing": "FREEMIUM",
8
+ "tool_name": "QRCodeStyleApi",
9
+ "score": {
10
+ "avgServiceLevel": 100,
11
+ "avgLatency": 777,
12
+ "avgSuccessRate": 100,
13
+ "popularityScore": 8.5,
14
+ "__typename": "Score"
15
+ },
16
+ "host": "qrcodestyleapi.p.rapidapi.com",
17
+ "api_list": [
18
+ {
19
+ "name": "QRCodeStyleApi",
20
+ "url": "https://qrcodestyleapi.p.rapidapi.com/generate",
21
+ "description": "QRCode Create",
22
+ "method": "POST",
23
+ "required_parameters": [],
24
+ "optional_parameters": [],
25
+ "code": "import requests\n\nurl = \"https://qrcodestyleapi.p.rapidapi.com/generate\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcodestyleapi.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
26
+ "convert_code": "import requests\n\nurl = \"https://qrcodestyleapi.p.rapidapi.com/generate\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcodestyleapi.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
27
+ "test_endpoint": ""
28
+ }
29
+ ]
30
+ }
toolbench/toolenv/tools/Tools/qrcodeutils.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "product_id": "api_71c32a5c-8e28-4cf1-9832-017f3f077d9a",
3
+ "tool_description": "QR Code Generator API. The API will return directly QR Code image. For more details please visit https://www.qrcodeutils.com",
4
+ "home_url": "https://rapidapi.com/digicatech/api/qrcodeutils/",
5
+ "name": "qrcodeutils",
6
+ "title": "qrcodeutils",
7
+ "pricing": "FREEMIUM",
8
+ "tool_name": "qrcodeutils",
9
+ "score": {
10
+ "avgServiceLevel": 94,
11
+ "avgLatency": 612,
12
+ "avgSuccessRate": 94,
13
+ "popularityScore": 9.2,
14
+ "__typename": "Score"
15
+ },
16
+ "host": "qrcodeutils.p.rapidapi.com",
17
+ "api_list": [
18
+ {
19
+ "name": "qrcodefree",
20
+ "url": "https://qrcodeutils.p.rapidapi.com/qrcodefree",
21
+ "description": "Free QR Code Barcode Generator",
22
+ "method": "GET",
23
+ "required_parameters": [
24
+ {
25
+ "name": "text",
26
+ "type": "STRING",
27
+ "description": "Barcode text",
28
+ "default": "https://www.digicatech.com"
29
+ }
30
+ ],
31
+ "optional_parameters": [
32
+ {
33
+ "name": "validate",
34
+ "type": "BOOLEAN",
35
+ "description": "true / false . Default true",
36
+ "default": true
37
+ },
38
+ {
39
+ "name": "size",
40
+ "type": "NUMBER",
41
+ "description": "Size of the output image in pixels. Max: 250 Default: 150",
42
+ "default": "150"
43
+ },
44
+ {
45
+ "name": "type",
46
+ "type": "STRING",
47
+ "description": "Warning: the parameter must be named lowercase png,svg or eps",
48
+ "default": "svg"
49
+ },
50
+ {
51
+ "name": "level",
52
+ "type": "STRING",
53
+ "description": "Correction Level L (Low) 7% of codewords can be restored. Level M (Medium) 15% of codewords can be restored. Level Q (Quartile)[39] 25% of codewords can be restored. Level H (High) 30% of codewords can be restored. H,L,Q,M . Default M",
54
+ "default": "M"
55
+ }
56
+ ],
57
+ "code": "import requests\n\nurl = \"https://qrcodeutils.p.rapidapi.com/qrcodefree\"\nquerystring = {\"validate\": true, \"text\": \"https://www.digicatech.com\", \"size\": \"150\", \"type\": \"svg\", \"level\": \"M\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcodeutils.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers, params=querystring)\nprint(response.json())\n",
58
+ "convert_code": "import requests\n\nurl = \"https://qrcodeutils.p.rapidapi.com/qrcodefree\"\nquerystring = {\"validate\": true, \"text\": \"https://www.digicatech.com\", \"size\": \"150\", \"type\": \"svg\", \"level\": \"M\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcodeutils.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers, params=querystring)\nprint(response.json())\n",
59
+ "test_endpoint": ""
60
+ },
61
+ {
62
+ "name": "qrcodepro",
63
+ "url": "https://qrcodeutils.p.rapidapi.com/qrcodepro",
64
+ "description": "Pro QR Code Barcode Generator",
65
+ "method": "GET",
66
+ "required_parameters": [
67
+ {
68
+ "name": "text",
69
+ "type": "STRING",
70
+ "description": "Barcode text",
71
+ "default": "https://www.digicatech.com"
72
+ }
73
+ ],
74
+ "optional_parameters": [
75
+ {
76
+ "name": "validate",
77
+ "type": "BOOLEAN",
78
+ "description": "true / false . Default true",
79
+ "default": true
80
+ },
81
+ {
82
+ "name": "setlabel",
83
+ "type": "BOOLEAN",
84
+ "description": "true / false . Default false",
85
+ "default": false
86
+ },
87
+ {
88
+ "name": "forecolor",
89
+ "type": "STRING",
90
+ "description": "Foreground color in Hexadecimal value. Note: Please do not enter the # prefix",
91
+ "default": "000000"
92
+ },
93
+ {
94
+ "name": "type",
95
+ "type": "STRING",
96
+ "description": "Warning: the parameter must be named lowercase png,svg or eps",
97
+ "default": "svg"
98
+ },
99
+ {
100
+ "name": "labeltext",
101
+ "type": "STRING",
102
+ "description": "",
103
+ "default": ""
104
+ },
105
+ {
106
+ "name": "size",
107
+ "type": "NUMBER",
108
+ "description": "Size of the output image in pixels. Max: 4000 Default: 150",
109
+ "default": "150"
110
+ },
111
+ {
112
+ "name": "labelalign",
113
+ "type": "STRING",
114
+ "description": "left , right and center. Default center",
115
+ "default": "center"
116
+ },
117
+ {
118
+ "name": "backcolor",
119
+ "type": "STRING",
120
+ "description": "Background color in Hexadecimal value. Note: Please do not enter the # prefix",
121
+ "default": "FFFFFF"
122
+ },
123
+ {
124
+ "name": "level",
125
+ "type": "STRING",
126
+ "description": "Correction Level L (Low) 7% of codewords can be restored. Level M (Medium) 15% of codewords can be restored. Level Q (Quartile)[39] 25% of codewords can be restored. Level H (High) 30% of codewords can be restored. H,L,Q,M . Default M. H,L,Q,M . Default M",
127
+ "default": "M"
128
+ }
129
+ ],
130
+ "code": "import requests\n\nurl = \"https://qrcodeutils.p.rapidapi.com/qrcodepro\"\nquerystring = {\"validate\": true, \"setlabel\": false, \"text\": \"https://www.digicatech.com\", \"forecolor\": \"000000\", \"type\": \"svg\", \"labeltext\": \"\", \"size\": \"150\", \"labelalign\": \"center\", \"backcolor\": \"FFFFFF\", \"level\": \"M\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcodeutils.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers, params=querystring)\nprint(response.json())\n",
131
+ "convert_code": "import requests\n\nurl = \"https://qrcodeutils.p.rapidapi.com/qrcodepro\"\nquerystring = {\"validate\": true, \"setlabel\": false, \"text\": \"https://www.digicatech.com\", \"forecolor\": \"000000\", \"type\": \"svg\", \"labeltext\": \"\", \"size\": \"150\", \"labelalign\": \"center\", \"backcolor\": \"FFFFFF\", \"level\": \"M\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"qrcodeutils.p.rapidapi.com\"\n }\n\nresponse = requests.get(url, headers=headers, params=querystring)\nprint(response.json())\n",
132
+ "test_endpoint": ""
133
+ }
134
+ ],
135
+ "standardized_name": "qrcodeutils"
136
+ }
toolbench/toolenv/tools/Tools/qrcodeutils/api.py ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 qrcodefree(text: str, validate: bool=None, size: int=150, type: str='svg', level: str='M', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
10
+ """
11
+ "Free QR Code Barcode Generator"
12
+ text: Barcode text
13
+ validate: true / false . Default true
14
+ size: Size of the output image in pixels. Max: 250 Default: 150
15
+ type: Warning: the parameter must be named lowercase png,svg or eps
16
+ level: Correction Level L (Low) 7% of codewords can be restored. Level M (Medium) 15% of codewords can be restored. Level Q (Quartile)[39] 25% of codewords can be restored. Level H (High) 30% of codewords can be restored. H,L,Q,M . Default M
17
+
18
+ """
19
+ url = f"https://qrcodeutils.p.rapidapi.com/qrcodefree"
20
+ querystring = {'text': text, }
21
+ if validate:
22
+ querystring['validate'] = validate
23
+ if size:
24
+ querystring['size'] = size
25
+ if type:
26
+ querystring['type'] = type
27
+ if level:
28
+ querystring['level'] = level
29
+
30
+ headers = {
31
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
32
+ "X-RapidAPI-Host": "qrcodeutils.p.rapidapi.com"
33
+ }
34
+
35
+
36
+ response = requests.get(url, headers=headers, params=querystring)
37
+ try:
38
+ observation = response.json()
39
+ except:
40
+ observation = response.text
41
+ return observation
42
+
43
+ def qrcodepro(text: str, validate: bool=None, setlabel: bool=None, forecolor: str='000000', type: str='svg', labeltext: str=None, size: int=150, labelalign: str='center', backcolor: str='FFFFFF', level: str='M', toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'):
44
+ """
45
+ "Pro QR Code Barcode Generator"
46
+ text: Barcode text
47
+ validate: true / false . Default true
48
+ setlabel: true / false . Default false
49
+ forecolor: Foreground color in Hexadecimal value. Note: Please do not enter the # prefix
50
+ type: Warning: the parameter must be named lowercase png,svg or eps
51
+ size: Size of the output image in pixels. Max: 4000 Default: 150
52
+ labelalign: left , right and center. Default center
53
+ backcolor: Background color in Hexadecimal value. Note: Please do not enter the # prefix
54
+ level: Correction Level L (Low) 7% of codewords can be restored. Level M (Medium) 15% of codewords can be restored. Level Q (Quartile)[39] 25% of codewords can be restored. Level H (High) 30% of codewords can be restored. H,L,Q,M . Default M. H,L,Q,M . Default M
55
+
56
+ """
57
+ url = f"https://qrcodeutils.p.rapidapi.com/qrcodepro"
58
+ querystring = {'text': text, }
59
+ if validate:
60
+ querystring['validate'] = validate
61
+ if setlabel:
62
+ querystring['setlabel'] = setlabel
63
+ if forecolor:
64
+ querystring['forecolor'] = forecolor
65
+ if type:
66
+ querystring['type'] = type
67
+ if labeltext:
68
+ querystring['labeltext'] = labeltext
69
+ if size:
70
+ querystring['size'] = size
71
+ if labelalign:
72
+ querystring['labelalign'] = labelalign
73
+ if backcolor:
74
+ querystring['backcolor'] = backcolor
75
+ if level:
76
+ querystring['level'] = level
77
+
78
+ headers = {
79
+ "X-RapidAPI-Key": toolbench_rapidapi_key,
80
+ "X-RapidAPI-Host": "qrcodeutils.p.rapidapi.com"
81
+ }
82
+
83
+
84
+ response = requests.get(url, headers=headers, params=querystring)
85
+ try:
86
+ observation = response.json()
87
+ except:
88
+ observation = response.text
89
+ return observation
90
+