Skip to main content

Python wrapper for the N2YO API.

Project description

N2YO Python API

Python package PyPI Binder

This python package is a wrapper to access the N2YO REST API.

For each transaction, the caller must be identified and authorized by a license key (API key). To generate a unique license key, users are requested first to register an account at n2yo. After login, please visit the profile page and scroll down to access the button that generates the API key. The new API key will be accessible in the profile and cannot be changed. If you need a new key, please contact us and provide an explanation.

Available functions

get_tle

Retrieve the Two Line Elements (TLE) for a satellite identified by NORAD id.

get_satellite_positions

Retrieve the future positions of any satellite as footprints (latitude, longitude) to display orbits on maps. Also return the satellite's azimuth and elevation with respect to the observer location. Each element in the response array is one second of calculation. First element is calculated for current UTC time.

get_visual_passes

Get predicted visual passes for any satellite relative to a location on Earth. A "visual pass" is a pass that should be optically visible on the entire (or partial) duration of crossing the sky. For that to happen, the satellite must be above the horizon, illumintaed by Sun (not in Earth shadow), and the sky dark enough to allow visual satellite observation.

get_radio_passes

The "radio passes" are similar to "visual passes", the only difference being the requirement for the objects to be optically visible for observers. This function is useful mainly for predicting satellite passes to be used for radio communications. The quality of the pass depends essentially on the highest elevation value during the pass, which is one of the input parameters.

get_above

The "above" function will return all objects within a given search radius above observer's location. The radius (θ), expressed in degrees, is measured relative to the point in the sky directly above an observer (azimuth).

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

n2yo-api-0.1.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

n2yo_api-0.1.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file n2yo-api-0.1.3.tar.gz.

File metadata

  • Download URL: n2yo-api-0.1.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for n2yo-api-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e8289a0a0ea1155edb024134ff2b1e4b148cde8862398a021aa1b780a08f8482
MD5 e417a07c5c95988aaf0eabb728ff8a49
BLAKE2b-256 3b84cedb412ed8d9d47cda25899a39fb2031f43dd016da132a77eccd120f5333

See more details on using hashes here.

File details

Details for the file n2yo_api-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: n2yo_api-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for n2yo_api-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6109bf7e1d98c7b1c329dd139d45a7447b1403374c956400afe8ba8f4596c13
MD5 f93b8361c16416f88c40f3d73c31124d
BLAKE2b-256 1cbae7ad8e0ea6f1d564a894b658743de84447ff56ae69374451f793be08409a

See more details on using hashes here.

Supported by

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