https://github.com/ivanstan/tle-php
Client for NASA TLE API
https://github.com/ivanstan/tle-php
nasa norad php simplified-perturbations-models tle
Last synced: about 1 month ago
JSON representation
Client for NASA TLE API
- Host: GitHub
- URL: https://github.com/ivanstan/tle-php
- Owner: ivanstan
- License: mit
- Created: 2015-03-13T11:28:25.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T20:41:32.000Z (about 2 years ago)
- Last Synced: 2025-02-02T18:03:29.244Z (4 months ago)
- Topics: nasa, norad, php, simplified-perturbations-models, tle
- Language: PHP
- Homepage: https://api.nasa.gov
- Size: 133 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TLE PHP
[](https://packagist.org/packages/ivanstan/tle-php)
Client for NASA TLE API (http://api.nasa.gov/) and TLE framework implemented in php.
# About
The TLE API provides up to date two line element set records, the data is updated daily from [CelesTrak](https://celestrak.com/) and served in JSON format. A two-line element set (TLE) is a data format encoding a list of orbital elements of an Earth-orbiting object for a given point in time. For more information on TLE data format visit [Definition of Two-line Element Set Coordinate System](https://spaceflight.nasa.gov/realdata/sightings/SSapplications/Post/JavaSSOP/SSOP_Help/tle_def.html).
# Installation
```
composer require ivanstan/tle-php
```# Usage
```
use Ivanstan\Tle\Api;$client = new Api();
$tle = $client->get(25544);
$tle->getLine1();
$tle->getLine2();
```