You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New feature request: please extend the API with a method to get the server's version. Also please consider invoking this method in the OTXv2 class init method and log the result at level debug.
In addition to yielding version details, this is a cheap way of testing if the API key is valid before trying to fetch data.
Thanks in advance for considering it.
The text was updated successfully, but these errors were encountered:
/api/v1/user is a pretty cheap way to check the api key, it'll get "your" basic user data. I believe there's not a corresponding function for this in the SDK, the closest would be
get_user(YOUR_USERNAME, detailed=False)
New feature request: please extend the API with a method to get the server's version. Also please consider invoking this method in the OTXv2 class init method and log the result at level debug.
In addition to yielding version details, this is a cheap way of testing if the API key is valid before trying to fetch data.
Thanks in advance for considering it.
The text was updated successfully, but these errors were encountered: