Make async GET request Args: path: API endpoint path headers: Request headers Returns: JSON response as dictionary, or None if request failed
(self, path: str, headers: Dict[str, str])
| 120 | return await self.async_request("post", path, data=data, headers=headers) |
| 121 | |
| 122 | async def get(self, path: str, headers: Dict[str, str]) -> Optional[Dict[str, Any]]: |
| 123 | """ |
| 124 | Make async GET request |
| 125 | |
| 126 | Args: |
| 127 | path: API endpoint path |
| 128 | headers: Request headers |
| 129 | |
| 130 | Returns: |
| 131 | JSON response as dictionary, or None if request failed |
| 132 | """ |
| 133 | return await self.async_request("get", path, headers=headers) |
| 134 | |
| 135 | async def put(self, path: str, data: Dict[str, Any], headers: Dict[str, str]) -> Optional[Dict[str, Any]]: |
| 136 | """ |
no test coverage detected