Skip to main content

Un SDK en Python para interactuar con la API de InsecureWeb.

Project description

InsecureWeb Python SDK

Este es un SDK (Software Development Kit) oficial en Python para interactuar de forma sencilla con la API de InsecureWeb.

Instalación

Puedes instalar este paquete fácilmente usando pip:

pip install insecureweb-sdk-forest

Uso rápido (Quickstart)

Aquí tienes un ejemplo de cómo utilizar el SDK para crear organizaciones en masa. Recuerda configurar tu API Key como una variable de entorno.

import os
from insecureweb.client import InsecureWebClient

# 1. Cargar tu llave de la API
mi_llave = "TU_API_KEY_AQUI" # Se recomienda usar variables de entorno (os.getenv)

# 2. Inicializar el cliente
cliente = InsecureWebClient(mi_llave)

# 3. Preparar los datos
datos = [
    {
        "orgName": "Mi Empresa Test",
        "domains": ["miempresa.com"],
        "emails": [],
        "users": [],
        "ips": [],
        "scanServices": ["DARK_WEB"]
    }
]

# 4. Enviar la petición
resultado = cliente.create_organizations_bulk(datos)
print(resultado)

Características

  • Manejo automático de encabezados de autenticación (api-key).
  • Inyección de versión de API (v3).
  • Manejo inteligente de respuestas HTTP y extracción de mensajes de error.

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

insecureweb_sdk_forest-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

insecureweb_sdk_forest-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file insecureweb_sdk_forest-0.1.0.tar.gz.

File metadata

  • Download URL: insecureweb_sdk_forest-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for insecureweb_sdk_forest-0.1.0.tar.gz
Algorithm Hash digest
SHA256 36b498f830d28d36191708c0a62894ab0cd35cbf1e8d5cab4677cbc55100491d
MD5 9e98ff8038db1019bd815b927f6e4ba9
BLAKE2b-256 4d074426517d06a9a74a93bcf26b90c602654d16c080d4c80c802970f44da282

See more details on using hashes here.

File details

Details for the file insecureweb_sdk_forest-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for insecureweb_sdk_forest-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75cbd46b5bbd3b637e2bf03bfba6eed4134dcd177731b379627be9cde8c59911
MD5 d16037f8d878552d2ab6e630a047a76a
BLAKE2b-256 d4ac1db2ec81ee2df2b7691d613f23fbaa40d933860268dcfc00bfe3d50ca051

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