refactor(transforms): whoxy tool

This commit is contained in:
dextmorgn
2025-11-03 22:54:10 +01:00
parent a841897c1e
commit 34797b1364
@@ -6,6 +6,8 @@ from ..base import Tool
class WhoxyTool(Tool):
whoxy_api_endoint = "https://api.whoxy.com/"
@classmethod
def name(cls) -> str:
return "whoxy"
@@ -25,7 +27,7 @@ class WhoxyTool(Tool):
def launch(self, params: Dict[str, str] = {}) -> list[Dict]:
try:
resp = requests.get(
"https://api.whoxy.com/",
self.whoxy_api_endoint,
params=params,
timeout=10,
)