ivanstan / tle-php
TLE Framework,用PHP编写,是NASA TLE API的客户端。
1.0.3
2021-02-25 11:17 UTC
Requires
- php: ^7.4|^8.0
- ext-json: *
- guzzlehttp/guzzle: ^6.5
- myclabs/php-enum: ^1.7
Requires (Dev)
- phpunit/phpunit: ^8
- dev-master
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- dev-dependabot/composer/guzzlehttp/psr7-1.9.1
- dev-dependabot/composer/guzzlehttp/guzzle-6.5.8
- dev-dependabot/composer/myclabs/php-enum-1.8.3
- dev-dependabot/composer/phpunit/phpunit-9.5.8
- dev-dependabot/add-v2-config-file
- dev-dependabot/composer/guzzlehttp/guzzle-7.3.0
This package is auto-updated.
Last update: 2024-09-19 23:53:04 UTC
README
用于NASA TLE API(http://api.nasa.gov/)和PHP实现的TLE框架的客户端。
关于
TLE API提供最新的两行元素集记录,数据每日从CelesTrak更新,并以JSON格式提供。两行元素集(TLE)是一种数据格式,用于编码给定时间点地球轨道物体的轨道元素列表。有关TLE数据格式的更多信息,请访问两行元素集坐标系统定义。
安装
composer require ivanstan/tle-php
用法
use Ivanstan\Tle\Api;
$client = new Api();
$tle = $client->get(25544);
$tle->getLine1();
$tle->getLine2();