mirror of
https://github.com/reconurge/flowsint.git
synced 2026-07-23 14:24:58 -05:00
refactor(transforms): whoxy tool
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user