Septzzz's picture
Upload folder using huggingface_hub (part 9)
9cabd68 verified
Raw
History Blame Contribute Delete
1.54 kB
{
"product_id": "api_98dc8d5f-7fa4-4c1e-8218-5921b43b5c26",
"tool_description": "Send one time passcode for verification.",
"home_url": "https://rapidapi.com/safu92/api/simple-otp/",
"name": "Simple Otp",
"title": "Simple Otp",
"pricing": "FREEMIUM",
"tool_name": "Simple Otp",
"score": null,
"host": "simple-otp.p.rapidapi.com",
"api_list": [
{
"name": "OTP",
"url": "https://simple-otp.p.rapidapi.com/",
"description": "Sends a request with phone number and the API will send random one time auto generated code to the phone number.\n\nThe response will let you know if the otp sending was successful or failed.",
"method": "POST",
"required_parameters": [],
"optional_parameters": [],
"code": "import requests\n\nurl = \"https://simple-otp.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"simple-otp.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
"convert_code": "import requests\n\nurl = \"https://simple-otp.p.rapidapi.com/\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"simple-otp.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())\n",
"test_endpoint": "",
"statuscode": 200,
"schema": {}
}
]
}