(self, rapidapi_name)
| 63 | ## Search Engine API |
| 64 | class RapidAPI: |
| 65 | def __init__(self, rapidapi_name): |
| 66 | self.rapidapi_name = rapidapi_name |
| 67 | self.ddgs = DDGS(proxy=PROXY['https'], timeout=50) if len(PROXY) != 0 else DDGS(timeout=50) |
| 68 | |
| 69 | def query(self, text: str, max_results: int) -> List[Dict[str, Any]]: |
| 70 | initial_delay = 1 |
nothing calls this directly
no outgoing calls
no test coverage detected