Astro-SpaceTrack
view release on metacpan or search on metacpan
Kelso dropped Iridium status and SES supplemental data April 26
2024.
0.164 2024-01-31 T. R. Wyant
Deprecate iridium_status() and associated attributes
Further deprecate 'direct', which now warns on first use.
Dropped METEOSAT from Celestrak Supplemental.
0.163 2023-10-24 T. R. Wyant
Track Celestrak response to non-existent catalogs.
Space Track options to celestrak() now warn on every use.
Fix missed changes to Mike McCants' new web site.
0.162 2023-05-31 T. R. Wyant
Track Mike McCants' move to new web site.
0.161 2023-04-16 T. R. Wyant
Fixed dependencies in Makefile.PL and Build.PL.
Went back to prompting for executables in Makefile.PL and
Build.PL, as a way to handle apparant ActiveState build
failure because both they and I were running pl2bat.bat.
Enhance ExtUtils::MakeMaker version detection in Makefile.PL,
since ActiveState is apparantly deploying a Perl 5.10
with a development version of that module.
0.030 2007-10-24 T. R. Wyant
Add Celestrak 'sts' data set name to catalog.
Different error text for data sets in catalog but 404 and data sets
not in catalog and 404.
0.029 2007-10-13 T. R. Wyant
Add Celestrak galileo and sbas data set names to catalog.
Document celestrak data set names, or at least how to get them and
in general how they are formed.
t/data/Mock-LWP-UserAgent/resp.json view on Meta::CPAN
"200",
"OK",
[
"Content-Type",
"text/plain; charset=UTF-8",
"Set-Cookie",
"chocolatechip=This bears no relation to any cookie set by Space Track; path=/; domain=www.space-track.org",
"Status",
"200"
],
"1 00004U First line of data\r\n2 00004 Second line of data\r\n1 00005U First line of data\r\n2 00005 Second line of data\r\n1 00008U First line of data\r\n2 00008 Second line of data\r\n1 00009U First line of data\r\n2 00009 Second line of ...
]
},
"https://www.space-track.org/basicspacedata/query/class/tle_latest/format/tle/orderby/OBJECT_NUMBER%20asc/OBJECT_NUMBER/25544,36086,41765,41834,42706,42711--42713,42715,42722,42726,42736,42982,43020,43021,43466--43468,43546--43554,43556--43561,435...
"GET" : [
"200",
"OK",
[
"Content-Type",
"text/plain;charset=UTF-8",
"Status",
t/spacetrack_request.t view on Meta::CPAN
1 00018U First line of data
2 00018 Second line of data
1 00019U First line of data
2 00019 Second line of data
1 00020U First line of data
2 00020 Second line of data
1 00022U First line of data
2 00022 Second line of data
1 00023U First line of data
2 00023 Second line of data
1 00024U First line of data
2 00024 Second line of data
1 00025U First line of data
2 00025 Second line of data
1 00026U First line of data
2 00026 Second line of data
1 00028U First line of data
2 00028 Second line of data
1 00029U First line of data
2 00029 Second line of data
1 00030U First line of data
2 00030 Second line of data
xt/author/spacetrack_rest_range.t view on Meta::CPAN
note <<'EOD';
The purpose of this test is to demonstrate that ranges work in the Space
Track REST interface.
EOD
{
# Iridiums, per T. S. Kelso
my @oids = qw{
24792-24796 24836 24837 24839-24842 24869-24873 24903-24907
24925 24926 24944-24946 24948-24950 24965-24969 25039-25043
25077 25078 25104-25106 25108 25169-25173 25262 25263
25272-25276 25285-25291 25319 25320 25342-25346 25431 25432
25467-25469 25471 25527 25528 25530 25531 25577 25578 25777
25778 27372-27376 27450 27451
};
local $ENV{SPACETRACK_REST_RANGE_OPERATOR} = 1;
$st->set( dump_headers => 6 );
my $rslt = $st->retrieve( @oids );
xt/author/spacetrack_rest_range.t view on Meta::CPAN
"args" => [
"basicspacedata",
"query",
"class",
"tle_latest",
"format",
"tle",
"orderby",
"OBJECT_NUMBER asc",
"OBJECT_NUMBER",
"24792--24796,24836,24837,24839--24842,24869--24873,24903--24907,24925,24926,24944--24946,24948--24950,24965--24969,25039--25043,25077,25078,25104--25106,25108,25169--25173,25262,25263,25272--25276,25285--25291,25319,25320,25342--25346,25431,25432...
"ORDINAL",
1
],
"method" => "GET",
"url" => "$base_url/basicspacedata/query/class/tle_latest/format/tle/orderby/OBJECT_NUMBER%20asc/OBJECT_NUMBER/24792--24796,24836,24837,24839--24842,24869--24873,24903--24907,24925,24926,24944--24946,24948--24950,24965--24969,25039--25043,2507...
"version" => 2,
},
], 'Generated correct query';
}
$st->set( dump_headers => 0 );
$rslt = $st->retrieve( { json => 1 }, @oids );
ok $rslt->is_success(), "Retrieve OIDs"
( run in 0.340 second using v1.01-cache-2.11-cpan-88abd93f124 )