Async Python wrapper for the N2YO API
Project description
N2YO Python API
This python package is an async 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).
Based on the original API wrapper from https://github.com/circuitqed/n2yo
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
File details
Details for the file n2yoasync-0.0.6.tar.gz
.
File metadata
- Download URL: n2yoasync-0.0.6.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5dc1bab58a87afa7b95bfe8aed9e2c5d6d9a99c9fa8f5590c83f20c0088b18a |
|
MD5 | f854dd2c3e20c4eba292a6ddd702d860 |
|
BLAKE2b-256 | a42ebaa684f8565383e99fdf406e17b11c2785eccaf219fc24ee9240b1d61a9c |