ivanstan/tle-php

TLE Framework written in PHP and client to NASA TLE API.

1.0.3 2021-02-25 11:17 UTC

README

packagist licence

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 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.

Installation

composer require ivanstan/tle-php

Usage

use Ivanstan\Tle\Api;

$client = new Api();

$tle = $client->get(25544);

$tle->getLine1();
$tle->getLine2();