Skip to main content

Python SatPlat Api Client

a simple module to integrate with SatPlat satellite image api service

Overview

Installation

This module is a pip package to let you integrate with satplat api service provider. in order to use this module you have to install it by pip command or through setup.

pip install satplat_api

Import package into your project by:

from satplat_api.api import SatPlatAPI

in order to use the module please consider looking at examples and documentations.

Usage

In order to integrate with this service provider you need to first have an account and token. so first of all create an account with the url provided below: https://dashboard.satplat.com/#/login

For easy implementations i have provided two simple examples, one for creating authenticating and getting access key and one for simple example to get current data from a location

# importing satplat module
from satplat_api.api import SatPlatAPI

# creating an instance client
client = SatPlatAPI()

# setting up access token
client.set_access_token(access_token="<YOUR_TOKEN>")

now that you have access token with unlimited time access then there is no need for authenticating, you can just set the access_token and proceed with other requests.

#importing satplat module
from satplat_api.api import SatPlatAPI

# creating an instance client
client = SatPlatAPI()

# setting the access token for headers in client object
client.set_access_token(access_token="<YOUR_TOKEN>")

# to get farms list 
pprint(client.get_farms_list())

References

Swagger

i even did create a custom swagger for testing purposes

Metadata

Release files for satplat-api 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for satplat-api 0.1.1
File Size Uploaded Provenance Actions
satplat_api-0.1.1.tar.gz 3.4 kB Without provenance Details for satplat_api-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for satplat-api 0.1.1
File Interpreter ABI Platform Actions
satplat_api-0.1.1-py3-none-any.whl Python 3 none any Details for satplat_api-0.1.1-py3-none-any.whl

Total release size: 7.1 kB

Release files / satplat_api-0.1.1.tar.gz

Download URL satplat_api-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4dc19da0e0e4fdf806a22b7ba82458679c0bb2c4a3d113f2ba4b7e553c4d6257
BLAKE2b-256 checksum
How to use checksums
5619f4d00780d3b37ac01455ee1397599db3b3859cf56b7a4e8ed6f76d389909
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / satplat_api-0.1.1-py3-none-any.whl

Download URL satplat_api-0.1.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbc2a14dd44b7c12b54d16bb41514301b4cdec70ca566639a595d54bd815319c
BLAKE2b-256 checksum
How to use checksums
f5428213020875bdb2aab8b98b7765054201a33be6e9cfc2235f4cf53053f87e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Security for satplat-api 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page