mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-07 17:38:53 +00:00
#292 fix API url
This commit is contained in:
parent
21031b7d99
commit
a864a37d4b
@ -9,7 +9,7 @@ class Api():
|
|||||||
|
|
||||||
def __init__(self, api_key=None):
|
def __init__(self, api_key=None):
|
||||||
self.api_key = api_key
|
self.api_key = api_key
|
||||||
self.base = 'https://www.malwares.com/api/v2/'
|
self.base = 'https://public.api.malwares.com/v3/'
|
||||||
self.version = 2
|
self.version = 2
|
||||||
if api_key is None:
|
if api_key is None:
|
||||||
raise ApiError("You must supply a valid Malwares API key.")
|
raise ApiError("You must supply a valid Malwares API key.")
|
||||||
|
Loading…
Reference in New Issue
Block a user