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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36b498f830d28d36191708c0a62894ab0cd35cbf1e8d5cab4677cbc55100491d
|
|
| MD5 |
9e98ff8038db1019bd815b927f6e4ba9
|
|
| BLAKE2b-256 |
4d074426517d06a9a74a93bcf26b90c602654d16c080d4c80c802970f44da282
|
File details
Details for the file insecureweb_sdk_forest-0.1.0-py3-none-any.whl.
File metadata
- Download URL: insecureweb_sdk_forest-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75cbd46b5bbd3b637e2bf03bfba6eed4134dcd177731b379627be9cde8c59911
|
|
| MD5 |
d16037f8d878552d2ab6e630a047a76a
|
|
| BLAKE2b-256 |
d4ac1db2ec81ee2df2b7691d613f23fbaa40d933860268dcfc00bfe3d50ca051
|