A package to facilitate access to the Arlula Imagery Marketplace API
Project description
Arlula API Python Package
About
This package provides a core interface for interacting with the Arlula API. For a more full-featured package, see arlulaapi.
Prerequisites
This package requires an active Arlula account and access to the API credentials. If you don't have an account, you can create one at api.arlula.com/signup.
Installation
pip install arlulacore
Initiation
Instantiate a Session object using your API credentials as below. This will validate your credentials and store them for the remainder of the session.
import arlulacore
"""opening a session"""
arlula_session = arlulacore.Session(key, secret)
API Endpoints
This package contains methods for each of the supported API endpoints, namespaced by API namespace. Each namespace inherits the session defined above
Archive
archive = arlulacore.Archive(arlula_session)
search_result = archive.search(
start="string",
end="string"
res="string",
lat=float,
long=float,
north=float,
south=float,
east=float,
west=float
)
order = archive.order(
id=imageryId,
eula="",
seats=1,
webhooks=[...],
emails=[...]
)
Orders
orders = arlulacore.Orders(arlula_session)
order = orders.get(
id=orderId
)
orders.get_resource(
id=resourceId,
filepath="downloads/thumbnail.jpg",
# optional
suppress="false"
)
order_list = orders.list_orders()
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
File details
Details for the file arlulacore-1.0.0.tar.gz
.
File metadata
- Download URL: arlulacore-1.0.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f232b35b84bf662e489cfeb61c79723e47ff5a81bcad4cfd1c496ff297f2772 |
|
MD5 | 218e0211f9e38a5373e74cc4462940bc |
|
BLAKE2b-256 | ec5ac085b556777cd0d2e9a89d81bbc0c71cd08c0e2a12cc000e049787d7c6db |
File details
Details for the file arlulacore-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: arlulacore-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22d162b9d18b1497c5ece0f3299893c2e8a5905407a2a86652673879a7d571d9 |
|
MD5 | 54a89b561fbab698f11b8918bac1b2e0 |
|
BLAKE2b-256 | c0ef1785a5e885cfb0c7d04d3adf21ceb59a856186bbd68c81ae68d57993e1e2 |