Our SDK 🔧

Python or CLI

dinamis_sdk is a Python SDK (Software Development Kit) to interact with our servers. It can be used in command-line or used as a dependency.

Installation

Your can install our SDK from pip:

pip install dinamis_sdk

Usage

Once the environment setup:

import dinamis_sdk
import pystac_client

api = pystac_client.Client.open(
   'https://stacapi-cdos.apps.okd.crocc.meso.umontpellier.fr',
   modifier=dinamis_sdk.sign_inplace,
)

Authentification

There are 2 different ways of authentificating on our servers during a development:

Method Generation method Duration Usage
OAuth2 By dinamis_sdk Temporary (5 days, renewed when sign_inplace is called),
dinamis_sdk asks to reauthentificate after expiration
When using dinamis_sdk on Python
API Key - By dinamis_cli (binary provided with dinamis_sdk)
- On our Gate website
Permanent

Examples

To see how to play with our library, check our Remote sensing notebooks repository.

Contribute

You can create a pull request or open an issue on Github.

Documentation

Read the latest documentation here.

R

rstactheia is the R package to authenticate and sign the asset URLs.

See documentation for details.