gideonshaked / nextinspace Goto Github PK
View Code? Open in Web Editor NEWNever miss a launch. π
License: GNU General Public License v3.0
Never miss a launch. π
License: GNU General Public License v3.0
When there is a connection issue, the stack trace has nothing to do with a connection issue.
Traceback (most recent call last):
File "/Users/derkweijers/.pyenv/versions/3.9.0/lib/python3.9/site-packages/nextinspace/api.py", line 230, in get_data
response.raise_for_status()
File "/Users/derkweijers/.pyenv/versions/3.9.0/lib/python3.9/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://ll.thespacedevs.com/2.0.0/event/upcoming/?limit=1
I think it would be nicer to catch the ratelimit exception and return a cleaner error :)
The time in the output is supposedly local (in my case ET), but is actually the time of the item in UTC.
Example:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βAtlas V 531 | NROL-101 β
βSpace Launch Complex 41, Cape Canaveral, FL, USA β
β β
β Tue November 03, 2020 10:58 PM EST β
β Launch Type: Government/Top Secret β
β β
β Classified payload for the U.S. National Reconnaissance Office. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
This SHOULD be:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βAtlas V 531 | NROL-101 β
βSpace Launch Complex 41, Cape Canaveral, FL, USA β
β β
β Tue November 03, 2020 5:58 PM EST β
β Launch Type: Government/Top Secret β
β β
β Classified payload for the U.S. National Reconnaissance Office. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
To confirm see the launch page on the LL2 API.
nextinspace: 404 Client Error: Not Found for url: https://ll.thespacedevs.com/2.0.1/event/upcoming?limit=1
It looks like we need https://ll.thespacedevs.com/2.1.0/event/upcoming/?limit=1
I just wanted your permission if I could do this :)
4 to 5 columns could easily fit on a 32" monitor @ 1440p resolution.
Any chance of getting to to print more than 1 column?
The panes are neat, but it would be nice to have a plain text output mode that just outputs text, no panes, no colors.
I started receiving HTTP 429 errors after just a couple of invocations of the program. Would it be possible to cache the data somewhere for a limited time so it doesn't need to be re-requested when just trying out different combinations of parameters?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.