An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# TLE PHP

[![packagist](https://badgen.net/packagist/name/ivanstan/tle-php)](https://packagist.org/packages/ivanstan/tle-php)
![licence](https://badgen.net/packagist/license/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();
```