Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odin_sdk_python-0.0.12.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odin_sdk_python-0.0.12-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file odin_sdk_python-0.0.12.tar.gz.

File metadata

  • Download URL: odin_sdk_python-0.0.12.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.6 Darwin/22.4.0

File hashes

Hashes for odin_sdk_python-0.0.12.tar.gz
Algorithm Hash digest
SHA256 64f2bebc971a5d7cce742c09bf7954bebf7ba5cadd68bec5839565bd264758ea
MD5 1fff145e427a8bbd9bf75dfebbf6a0cc
BLAKE2b-256 774db5d5cb66a8c16f97554c0fd61304efcae851c2fd812772b8e4f55782be6e

See more details on using hashes here.

File details

Details for the file odin_sdk_python-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: odin_sdk_python-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.6 Darwin/22.4.0

File hashes

Hashes for odin_sdk_python-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 de72bc317e3b44801cd4dc07e0cb8543e626e5822b091564c242089936fa7d42
MD5 7ae57377e350c4398814e9bf72cbe78e
BLAKE2b-256 1b17aeb47d1707f6e2528ba8023313c9662b258e7bfd70f40be9a3a2dc54c354

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page