Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arlulacore-1.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

arlulacore-1.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file arlulacore-1.0.1.tar.gz.

File metadata

  • Download URL: arlulacore-1.0.1.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

Hashes for arlulacore-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f9745f4a2c6305b0c34b9b4d2a4b8626002d8fe4a0fd4e8385194ec743151179
MD5 3f388e72d0e940f3d2287c5759f17393
BLAKE2b-256 a5f7e2fc1d071c9cacca2a71d1c43a5b65b058ea415904545594acb86b94915b

See more details on using hashes here.

File details

Details for the file arlulacore-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: arlulacore-1.0.1-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

Hashes for arlulacore-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25fb8f4336e7ad8f284736b881ea1d6d0b4ed726c8b02be2169ddc17e93be815
MD5 4f124625c4503355d66f00a95d31c6d7
BLAKE2b-256 2a29ab4991a3f0ac372752c7e23512c9f26b6ea5ad628e5b6f65d36319ca81ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page