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 with typed request and response models.
Install
pip install redatlas
Quickstart
from redatlas import RedAtlasClient
client = RedAtlasClient(
api_key="ra_live_...",
)
health = client.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.list()
print(plans)
Examples
from redatlas import RedAtlasClient
client = RedAtlasClient(api_key="ra_live_...")
plans = client.plans.list()
market = client.data.market("col")
records = client.data.list("col", "listings", limit=3)
print(len(plans.data))
print(market.data.available_entities)
print(len(records.data))
Typed Requests
from redatlas import RedAtlasClient
from redatlas.models.listing_type import ListingType
from redatlas.models.report_type import ReportType
from redatlas.models.unified_report_request import UnifiedReportRequest
client = RedAtlasClient(api_key="ra_live_...")
report = client.reports.create(
UnifiedReportRequest(
type=ReportType("avm"),
market="col",
lat=6.2442,
lon=-75.5812,
property_type="apartment",
listing_type=ListingType("for_sale"),
built_area=85,
)
)
print(report.data.id)
Typed request models are available under redatlas.models.
Notes
- The public entrypoint is
RedAtlasClient - Standard usage is
RedAtlasClient(api_key="ra_live_...") - The SDK also exposes generated typed request and response models
- The default API host is the production RED Atlas API
- Integration tests in this repo verify that wrapper methods forward requests to the expected endpoints with the expected params
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
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 redatlas-0.1.2.tar.gz.
File metadata
- Download URL: redatlas-0.1.2.tar.gz
- Upload date:
- Size: 87.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd4523d06d16ca29c5a83d5f4383bbfaad20a5e91c059b46cc8353b3819191ec
|
|
| MD5 |
28106ea058ed37f430fd773c26f39093
|
|
| BLAKE2b-256 |
903e66bc905ba244cf553fc4b2a6a2c7cd99f91a6ec8694a04e910337a18772a
|
File details
Details for the file redatlas-0.1.2-py3-none-any.whl.
File metadata
- Download URL: redatlas-0.1.2-py3-none-any.whl
- Upload date:
- Size: 219.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cc7330a623a9338f5dc92372d5ca663f891005568a8ae0d36e2aeecc07a067a
|
|
| MD5 |
cce27115b8d31291f8459ca8acb0f2b2
|
|
| BLAKE2b-256 |
4341b80dc5df999ce1845161fe8e228b3a1c536ec58124d1df3776843ab8982e
|