(data: dict)
| 6 | |
| 7 | |
| 8 | async def list_providers(data: dict): |
| 9 | headers = get_headers(CONFIG.Authentication) |
| 10 | async with aiohttp.ClientSession(headers=headers) as session: |
| 11 | request_url = PROVIDER_BASE_URL |
| 12 | response = await session.get(request_url, params=data) |
| 13 | return ResponseWrapper(response.status, await response.json()) |
| 14 | |
| 15 | |
| 16 | async def get_provider(params: dict): |