Skip to main content

RED Atlas External API

Project description

redatlas

Official Python SDK for the RED Atlas External API.

Use it to authenticate with your RED Atlas API key and call public data, plans, health, and reports endpoints.

API Docs

For endpoint behavior, supported parameters, and response details, see the official API documentation:

  • https://api.atlas.red/es/docs

SDKs

  • Python: pip install redatlas

Install

pip install redatlas

Quickstart

from redatlas import RedAtlasClient

client = RedAtlasClient(
    api_key="ra_live_...",
)

health = client.health.health_get()
print(health.status)

Authentication

The SDK is intended to be used with your RED Atlas API key.

from redatlas import RedAtlasClient

client = RedAtlasClient(api_key="ra_live_...")
plans = client.plans.plans_list()

print(plans)

Examples

from redatlas import RedAtlasClient

client = RedAtlasClient(api_key="ra_live_...")

plans = client.plans.plans_list()
market = client.data.data_market(market="col")
records = client.data.data_list(market="col", entity_type="listings", limit=3)

print(len(plans.data))
print(market.data.available_entities)
print(len(records.data))

Notes

  • The public entrypoint is RedAtlasClient
  • Standard usage is RedAtlasClient(api_key="ra_live_...")
  • API parameters and endpoint semantics are documented at https://api.atlas.red/es/docs
  • The default API host is the production RED Atlas API
  • Integration tests in this repo verify that RedAtlasClient forwards generated API calls to the expected endpoints with the expected params

Endpoints

For full details on parameters, request bodies, and responses, see the API documentation.

Resource Method Endpoint
Health client.health.health_get() GET /v1/health
Plans client.plans.plans_list() GET /v1/plans
Auth client.auth.auth_register() POST /v1/auth/register
Auth client.auth.auth_login() POST /v1/auth/login
Auth client.auth.auth_refresh() POST /v1/auth/refresh
Auth client.auth.auth_logout() POST /v1/auth/logout
Auth client.auth.auth_me() GET /v1/auth/me
Auth client.auth.auth_update_me() PATCH /v1/auth/me
Auth client.auth.auth_delete_me() DELETE /v1/auth/me
Auth client.auth.auth_change_password() POST /v1/auth/change-password
Auth client.auth.auth_forgot_password() POST /v1/auth/forgot-password
Auth client.auth.auth_reset_password() POST /v1/auth/reset-password
Auth client.auth.auth_invite_info() GET /v1/auth/invite/{token}
Auth client.auth.auth_accept_invite() POST /v1/auth/invite/accept
Data client.data.data_market() GET /v1/data/{market}
Data client.data.data_list() GET /v1/data/{market}/{entityType}
Data client.data.data_get() GET /v1/data/{market}/{entityType}/{id}
Reports client.reports.reports_list() GET /v1/reports
Reports client.reports.reports_create() POST /v1/reports
Reports client.reports.reports_create_avm() POST /v1/reports/avm
Reports client.reports.reports_create_comparables() POST /v1/reports/comparables
Reports client.reports.reports_get() GET /v1/reports/{id}
Reports client.reports.reports_get_public() GET /v1/reports/public/{reportId}
Reports client.reports.reports_get_white_label() GET /v1/reports/white-label
Reports client.reports.reports_update_white_label() PUT /v1/reports/white-label
Usage client.usage.usage_summary() GET /v1/account/usage
Usage client.usage.usage_daily() GET /v1/account/usage/daily
Usage client.usage.usage_by_endpoint() GET /v1/account/usage/by-endpoint
Usage client.usage.usage_by_market() GET /v1/account/usage/by-market
API Keys client.keys.keys_list() GET /v1/account/keys
API Keys client.keys.keys_create() POST /v1/account/keys
API Keys client.keys.keys_revoke() DELETE /v1/account/keys/{id}
API Keys client.keys.keys_rotate() POST /v1/account/keys/{id}/rotate
Team client.team.team_list() GET /v1/team
Team client.team.team_invite() POST /v1/team/invite
Team client.team.team_update() PATCH /v1/team/{memberId}
Team client.team.team_remove() DELETE /v1/team/{memberId}
Notifications client.notifications.notifications_get_preferences() GET /v1/account/notifications/preferences
Notifications client.notifications.notifications_update_preferences() PUT /v1/account/notifications/preferences
Notifications client.notifications.notifications_list() GET /v1/account/notifications
Notifications client.notifications.notifications_unread_count() GET /v1/account/notifications/unread-count
Notifications client.notifications.notifications_mark_all_read() PUT /v1/account/notifications/read-all
Notifications client.notifications.notifications_mark_read() PUT /v1/account/notifications/{id}/read
Billing client.billing.billing_handle_webhook() POST /v1/billing/webhook
Billing client.billing.billing_status() GET /v1/billing
Billing client.billing.billing_subscribe() POST /v1/billing/subscribe
Billing client.billing.billing_change_plan() PUT /v1/billing/plan
Billing client.billing.billing_cancel_subscription() DELETE /v1/billing/subscription
Billing client.billing.billing_list_invoices() GET /v1/billing/invoices
Billing client.billing.billing_get_payment_method() GET /v1/billing/payment-method
Billing client.billing.billing_update_payment_method() PUT /v1/billing/payment-method
Billing client.billing.billing_purchase_topup() POST /v1/billing/topup
Changelog client.changelog.changelog_list() GET /v1/changelog
Changelog client.changelog.changelog_create() POST /v1/changelog
Changelog client.changelog.changelog_update() PUT /v1/changelog/{id}
Changelog client.changelog.changelog_delete() DELETE /v1/changelog/{id}

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

redatlas-0.1.3.tar.gz (86.8 kB view details)

Uploaded Source

Built Distribution

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

redatlas-0.1.3-py3-none-any.whl (216.5 kB view details)

Uploaded Python 3

File details

Details for the file redatlas-0.1.3.tar.gz.

File metadata

  • Download URL: redatlas-0.1.3.tar.gz
  • Upload date:
  • Size: 86.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for redatlas-0.1.3.tar.gz
Algorithm Hash digest
SHA256 67ae414f9e94a938331177991a5862250dd5fdbe007f8f3a42edb7e435ec4f94
MD5 ef943e35af49ace8764cae1229f28d5c
BLAKE2b-256 a186a3286f909212c7711a33fde1e7b4697369ebce81c2d33ecddf6e1d5aaf89

See more details on using hashes here.

File details

Details for the file redatlas-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: redatlas-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 216.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for redatlas-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 35bdbaa62dc2e2a71326e5f0e6205de49191b210dd8152db8f5f908b40d1a979
MD5 5b8afe2f2127ee2719e91048081c65aa
BLAKE2b-256 449d075e75522271e23eaed6708d3c280e97346ef59e65eb09043048cfcae096

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