Created
September 6, 2021 21:08
-
-
Save aligalehban/f6b905924a85e406c3ee3fe7e5e3f2a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
print ("=========================== StarLink Sattelite List=================================") | |
sat = requests.get("http://www.celestrak.com/NORAD/elements/gp.php?GROUP=starlink&FORMAT=json").text | |
a = json.loads(sat) | |
x=int(len(a)) | |
for i in range(x): | |
x=x-1 | |
print('space station:',a[x]['OBJECT_NAME'],'ID:',a[x]['OBJECT_ID']) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment