Skip to main content

Python SDK for the GeoBit AI geospatial intelligence API

Project description

GeoBit AI — Python SDK

Python client for the GeoBit AI geospatial intelligence API.

Install

pip install geobit

Quick Start

from geobit import GeobitClient

client = GeobitClient(api_key="geobit_v1_...")

# Health check
client.health()

# Search conflicts in a country
results = client.intelligence.conflicts_search(country="Ukraine", time_range="30d")

# GDELT event search
events = client.intelligence.gdelt_events(countries=["SY", "IQ"], days=7)

# Web search with automatic geocoding
hits = client.search.web(query="military buildup near Kherson")

# Early warning alerts
alerts = client.ews.alerts(country="Sudan")

# Conflict prediction
prediction = client.ews.prediction(country="Myanmar")

# Internet connectivity monitoring
status = client.ews.connectivity(country="Ethiopia")

# Multi-source intelligence fusion
intel = client.fusion.intelligence(days_back=7)

# Real-time aircraft tracking
planes = client.flight.aircraft(bbox=[33.0, 38.0, 35.0, 45.0])

# Weather grid
weather = client.weather.grid(lat=6.5, lng=3.4, radius_km=50)

Namespaces

Namespace Description
client.intelligence Conflict search, GDELT events, battle maps
client.search Web search, X/Twitter search with geocoding
client.intel 20+ specialized intelligence domains
client.fusion Multi-source fusion, proxy groups, force projection
client.analysis Threat surface, anomaly detection, MCDA
client.ews Early warning alerts, conflict prediction, connectivity
client.flight Real-time aircraft tracking (OpenSky)
client.weather Weather grids, air quality
client.geospatial Map layers, fly-to commands
client.data SQL queries, table access
client.strategy Wargaming, PMESII-PT, COA
client.ai AI script execution, chat
client.billing Usage stats, credit balance

Authentication

All requests require an API key passed via the X-API-Key header (handled automatically).

client = GeobitClient(api_key="geobit_v1_...")

Error Handling

from geobit import GeobitClient, AuthenticationError, InsufficientCreditsError

client = GeobitClient(api_key="geobit_v1_...")

try:
    results = client.intelligence.conflicts_search(country="Nigeria")
except AuthenticationError:
    print("Invalid API key")
except InsufficientCreditsError as e:
    print(f"Need more credits: {e.details}")

API Docs

Full API documentation with Swagger UI: https://api.geobit.ai/api/v1/docs

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

geobit-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

geobit-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for geobit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ed52966dff74bbc0f9952ea5cae0547b1bad8c90b6a56fd68042683df1f079c
MD5 7543a168fb09393a9322c38f9004ed5f
BLAKE2b-256 2079e0c71a92583a5e9636afde96d2647032e2a89e4877b6760213162a5accff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geobit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for geobit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 813594e6915c6b30854163eba1d2b5cb579a6a01a6de007c94e750db0d59c91c
MD5 a1e2a92f5eb34537e0a47c6751355d9f
BLAKE2b-256 6068b948e23a26f7a4ae5de1bf190249b7752ff495b6d9c6485d1882533f6b89

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