Skip to main content

Python wrapper for the N2YO API

Project description

N2YO Python API

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.com. 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. The keys issued for the SOAP Web Services API are not valid for REST API.

The following functions are currently available:

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

get_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_visualpasses: 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_radiopasses: 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-0.0.5.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

n2yo-0.0.5-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file n2yo-0.0.5.tar.gz.

File metadata

  • Download URL: n2yo-0.0.5.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.3

File hashes

Hashes for n2yo-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b6e13cec506078cd8568180988e6d120172582cb41f8f2304bf1c18a62966c9e
MD5 bd9047740ea3da6b54ac0f45ae3fc87d
BLAKE2b-256 d313d74505fd48872d1ac263cddec01fb359672799f13aca08da16d3f3924753

See more details on using hashes here.

File details

Details for the file n2yo-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: n2yo-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.3

File hashes

Hashes for n2yo-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0417e158d9b35e534f4ecbfd9bc02fb8aa15b1914fd9da71c1de6b4d81636c59
MD5 be5472cdcecc71128bd3bb3b61e7883b
BLAKE2b-256 7b348ab9d0b8cb55c5edd882e3b628a6dbc6ba4797342c2f0ebc9f2d36064995

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