Allows to interact easily with the Odin API and access various cybersecurity services, certificate information, and more.
Project description
Odin SDK for Python
ODIN's primary focus is to equip infosec teams with a precise depiction of the internet, enabling them to strengthen their security defences and proactively detect threats within their attack surface.
The Odin SDK for Python allows you to easily interact with the Odin API and access various cybersecurity services, certificate information, and more.
Installation
To use the Odin SDK in your Python project, you need to install it using pip:
pip install odin-sdk-python
⚠️ Important Note for macOS Users: We recommend using a newer version of the Python interpreter, such as the one installed via Homebrew, to ensure compatibility and avoid potential issues related to the legacy SSL library bundled with the default macOS Python interpreter.
Examples
Here is the Example, you can find various usage examples demonstrating how to interact with the Odin API using the odin-sdk-python
package.
Each example is a standalone Python program that showcases specific functionalities of the SDK.
from odin import OdinClient, APIException
client = OdinClient("https://api.getodin.com/v1", "<APIKey>")
def ex_hosts_count():
# Example for using get_hosts_count
try:
response = client.get_hosts_count("string")
print(response.success)
print(response.data.count)
except APIException as e:
print(e.status_code)
print(e.message)
Make sure to replace <APIKey>
with your actual Odin API key.
Thank you for using the Odin SDK for Python. If you encounter any issues, find a bug, or want to contribute, feel free to open an issue or submit a pull request. Your feedback and contributions are highly appreciated!
For more information about our other projects and services, visit our website at https://www.getodin.com.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for odin_sdk_python-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de72bc317e3b44801cd4dc07e0cb8543e626e5822b091564c242089936fa7d42 |
|
MD5 | 7ae57377e350c4398814e9bf72cbe78e |
|
BLAKE2b-256 | 1b17aeb47d1707f6e2528ba8023313c9662b258e7bfd70f40be9a3a2dc54c354 |