"Get all contacts"
(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff')
| 28 | return observation |
| 29 | |
| 30 | def home(toolbench_rapidapi_key: str='088440d910mshef857391f2fc461p17ae9ejsnaebc918926ff'): |
| 31 | """ |
| 32 | "Get all contacts" |
| 33 | |
| 34 | """ |
| 35 | url = f"https://contacts-api.p.rapidapi.com/" |
| 36 | querystring = {} |
| 37 | |
| 38 | headers = { |
| 39 | "X-RapidAPI-Key": toolbench_rapidapi_key, |
| 40 | "X-RapidAPI-Host": "contacts-api.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 |
nothing calls this directly
no outgoing calls
no test coverage detected