r/LaunchLibrary • • Oct 10 '18

Introducing the Spaceflight News API

13 Upvotes

Hello everyone,

Over the last couple of months, I've been developing a new API called the Spaceflight News API (or SNAPI, for short).

So what is SNAPI and why did I create it?
At the beginning of 2018, I had the idea to create an app that would have a summary of spaceflight news from various news sites. The app would not contain the articles themselves, but only tings like the title and a link to the article, so I wouldn’t ‘steal’ the visitors from the site.

There are many news sites, some with an API, some have RSS feeds, but none of them are the same. For app development, this would result in lots of work on the app side, and this would not have been a good thing. For that reason I decided to build a service that would collect the metadata, and publish it through an API. While building the API, and inspired by Launch Library, I decided to plubish the API for other developers to use.

For more info, visit the website, join Discord and subscribe to the subreddit (not much going on over there, but it's nice for announcements).

Finally: the API is not meant to "compete" in any way with LL. It's meant to complement the data that LL offers.

Cheers!


r/LaunchLibrary • • Nov 06 '17

LaunchLibrary API 1.3

10 Upvotes

Good day, all. I'm pleased to announce the 1.3 version of the API. Changes:

  • Filters now work with /next

  • NEW: Launch Service Provider s (LSPs)

  • LSPs are Agencies with a flag set (islsp)

  • Launches now have an LSP property pointing at their agency, so it is clear who is providing launch services

  • You can get a list of LSPs by calling /lsp or /agency?islsp=1

  • All previous launches have had their LSP attatched, so all the data is ready to be used.

https://launchlibrary.net/docs/1.3/api.html

This release starts a two-week "beta" process (for lack of a better term). Essentially, if anyone comes across a glaring issue, I may make minor changes to it over the next two weeks (after which it's locked in unless it's something major). That being said, the data structures will remain, so it is safe to use.


r/LaunchLibrary • • Apr 04 '16

Launch Library API Version 1.2 is set as released.

10 Upvotes

As we haven't gotten any bug reports in the last few weeks, we're locking the 1.2 api as in release. This means the feature set is locked in, and no new development will happen for it/it will not be taken down to add anything. In case you missed the original thread and don't want to open it:

We've added some new data points to our api returns in the 1.2 version. You can find the documentation here: http://launchlibrary.net/1.2/docs/api.html

For those using 1.1, calls should be made the same, and the return structures should be the same (with some new properties), so you should be able to simply change your URLs from 1.1 to 1.2 to begin checking.

Some of the new features:

  • More URLs! Launches can have multiple video URLs. You can check the new vidURLs array in verbose launches.

  • Even more URLs! Everywhere there was an infoURL field, there is now also an infoURLs array.

  • Launches now have tbdtime and tbddate, to show whether we are unsure about the time of the launch, the date, or both.

  • Launches now have a hold reason, failure reason, probability of launch, and hashtag properties.

  • We are now hosting free to use rocket images (where available, where not, we're hosting a placeholder image you can use). See the documentation on how to use them (but seriously, PLEASE cache it and not pull every time).

** Image gathering is still currently in it's early stages. We're still out gathering images that are free for you to use, and some may switch over time. There's some discussion of creating our own vector images for a consistent look as well.


r/LaunchLibrary • • Jul 22 '20

Launch Library 2: new API and other news

9 Upvotes

We have some very important news for you!

Due to time commitments of the old developer and due to the ending of financial support from our previous benefactor, Launch Library in its current state (LL1) will be closing down.

However, the new owners, Caleb and Jacques along with the Space Launch Now team have created a new entity named The Space Devs which will manage and promote the successor of the Launch Library API.

The new API named Launch Library 2 (LL2) contains the same data as LL1 and much more. Support for LL1 has ended, however, we will ensure that the API remains active for some time allowing developers to migrate to the new API.

You can find more details on The Space Devs website and Discord server:
https://thespacedevs.com/
https://discord.gg/p7ntkNA

If you have any questions, need help for the migration process or are interested about the upcoming features and updates, please join the TSD Discord server.


r/LaunchLibrary • • Mar 15 '16

Launch Library API v1.2 is now in open beta

9 Upvotes

Hi folks,

We've added some new data points to our api returns in the 1.2 version. You can find the documentation here: http://launchlibrary.net/1.2/docs/api.html

Calls should be made the same, and the return structures should be the same (with some new properties), so for the most part, you should be able to simply change your urls from 1.1 to 1.2 to begin checking.

Please keep in mind this is open beta. If we find any glaring bugs during this time, we may take it down temporarily while fixing. The current plan is to end the open beta in the beginning of April and cement it in. There are currently no plans to remove either 1.0 or 1.1, so you do not need to move at this time, however you will miss out in the newer data.

  • More URLs! Launches can have multiple video URLs. You can check the new vidURLs array in verbose launches.

  • Even more URLs! Everywhere there was an infoURL field, there is now also an infoURLs array.

  • Launches now have tbdtime and tbddate, to show whether we are unsure about the time of the launch, the date, or both.

  • Launches now have a hold reason, failure reason, probability of launch, and hashtag properties.

  • We are now hosting free to use rocket images (where available, where not, we're hosting a placeholder image you can use). See the documentation on how to use them (but seriously, PLEASE cache it and not pull every time). *Edit: as rightly pointed out to me, I should note that image gathering is still currently in it's early stages. We're still out gathering images that are free for you to use.

If you run across any missing behavior from before, or notice anything wrong, feel free to reply in this thread and we'll get on it as soon as we can, thanks.


r/LaunchLibrary • • Jul 09 '19

Added Launch Library to the Spaceflight News API

8 Upvotes

Hi everyone,

My name is Derk and I'm the developer of the Spaceflight News API.

For those who do not know, the Spaceflight News API is an API that imports metadata from various spaceflight related news sites enabling developers to add spaceflight news to their applications. Besides news articles, the API also imports blogs and the ISS daily reports.

Today I released version 1.3.0 of the API, which has launch library integration. What does this mean?

You can query the API with a Launch Library (launch) ID, and it will return a list of articles related to that specific launch.This way, you can for example add a "Related News" section to the launches in your applications.

For more info, check https://www.spaceflightnewsapi.net and feel free to come and say hi in Discord!

Thanks,

Derk


r/LaunchLibrary • • Jul 05 '17

I just want to say thanks

7 Upvotes

I discovered LaunchLibrary a few months ago by searching for something like "Rocket API," and I have to say, I really appreciate the service. I've been using it as part of a Telegram bot I wrote to (among other things) notify me of upcoming SpaceX launches. It was really easy to set up and the data is all very useful. Thank you!


r/LaunchLibrary • • Feb 22 '18

API Version 1.4

6 Upvotes

The 1.4 version of the api is now in open beta. This includes two major additions:

 

 

  1. Added payloads array to missions:
    Payloads are a child array of objects in missions. The purpose is to prove more information about the satellites, telescopes, rovers, probes, crew and the like for each mission. Properties include name, description, country codes, agencies, dimensions weight, number of payload type (an example would be a crew of 7, or many cubesats), and type. This is brand new, so it will take some time for data to be collected and entered, especially for historical launches, so don't worry if something seems missing - we're on it.

  2. Added changed property to all objects:
    The changed property is the date/time of the object's last change in the library. You can use this to get just the changes since your last sync. The initial changed data will be set to 2017-02-21 00:00:00, so no previous date changes will be available.

 

 

This version is considered open beta for a little over 2 weeks, and will be closed March 13th. During that time, minor changes to the data structures or in the new behavior could happen should a bug be located. On the 13th, any chance of active development closes, and it will be considered live.

 

 

Should you come across an issue with it, please join us on Discord (https://discord.gg/FSFBVHw) and let us know in the #api-issues channel. Please start out stating that you are using 1.4, thanks.

 

 

https://launchlibrary.net/docs/1.4/api.html


r/LaunchLibrary • • Nov 23 '17

you are missing one... 😂

Thumbnail
madmikehughes.com
6 Upvotes

r/LaunchLibrary • • Oct 08 '17

For SpaceX launches please specify landing and booster/Dragon reuse

6 Upvotes

Hi,

These days, SpaceX launches are far more interesting if they include a landing or stage reuse. Please provide these details in the launch summary.


r/LaunchLibrary • • Aug 31 '16

Some incorrect info and a request

6 Upvotes
  1. Japanese launches are written under China Academy of Space Technology as agency.

  2. Trying to get launches for one company does not get the launches under the old name. Ex. call for Orbital ATK does no return launches, only if you call launches for Orbital Sciences.

  3. Could we get a difference between launch provider and the agency that has the payload?

Edit: something went wrong and only a part of my post was posted.


r/LaunchLibrary • • Jun 25 '15

Looking for Launch Librarians

6 Upvotes

Launch Library is a database of past and upcoming launches from space based vehicles around the world. If you're a developer and would like to program against our free API, check out this page: https://www.launchlibrary.net/1.0/docs/api.html

To keep out Library up to date we rely on our Librarians, and we need more! If you're interested in helping look for upcoming launches around the world, we have two categories of Librarian you can sign up for:

Daily Librarian - These are people who log in day per week and check to make sure the entire Library is up to date. You don't need to look too much in the past, but looking to have extreme accuracy for the current week, good accuracy for the rest of the month, and best-effort accuracy for the rest of the year.

Agency Librarians - These are people who monitor each major space agency around the world: NASA, ESA, JAXA, Roscosmos, etc. You focus on just your one assigned agency and only log in to the Library to update a flight when you see an update from your agency. Ideally when your agency is launching a rocket, you would also log in and enter real-time information on delays, weather holds or scrubs as well.

If you're interested in becoming a Librarian, please contact [email protected] and we'll get you hooked up with an account. It is out hope that this data will help inspire developers to create amazing apps geared towards the exploration of the cosmos.


r/LaunchLibrary • • Jun 25 '15

Welcome to the Launch Library sub-Reddit

6 Upvotes

Hello all! And welcome to the Launch Library sub-Reddit. This is a place where our Librarians, developers and people coding against the public library API can get together. Ask questions, suggest new ideas, and help keep the library up to date all right here!


r/LaunchLibrary • • May 25 '21

Announcing SNAPI v3 (already?!)

Thumbnail
self.snapi
5 Upvotes

r/LaunchLibrary • • Jul 15 '19

RPi Launch Countdown Display

Post image
5 Upvotes

r/LaunchLibrary • • Dec 27 '18

Launch Library Slack Bot - A Slack bot that provides daily rocket launch notifications and reminders

5 Upvotes

https://github.com/chadj/launch-library-slack-bot

Hello, I've written and created a simple Slack application that will send daily rocket launch notifications to a specified channel in Slack. It will also let users set reminders for launches via Slack. It's pretty easy to use and install. If you're interested take a peek at the Github page for the installation link.


r/LaunchLibrary • • Aug 19 '18

Alexa Skill with Launch Library Integration

Thumbnail
amazon.com
5 Upvotes

r/LaunchLibrary • • Nov 23 '16

Two little quirks I noticed with the recent Ariane 5 launch.

5 Upvotes
  1. Soyuz launches from Arianespace have the same agency listed five times.

  2. Shouldn't the windowend of the recent Ariane 5 Galileo launch be on 17 instead of 27 November?

The windowstart of the launch is starting at 17 November but the windowend is at 27 November. I don't know that much about Ariane launch window durations but 10 days seem a bit long.

I noticed it because I use the ***startdate=[CURRENT DATE] **** and it is still hanging around on the main screen of my app.

*I should probably change that to a next=[...] parameter


r/LaunchLibrary • • Nov 08 '16

Liftoff - An app to display upcoming launches on your Pebble Smartwatch

Thumbnail
thomas.stoeckert.us
5 Upvotes

r/LaunchLibrary • • Oct 12 '16

Used LL to back a couple features for new Alexa Skill!

Thumbnail
3po-labs.com
5 Upvotes

r/LaunchLibrary • • Oct 04 '16

New mission types

5 Upvotes

After some discussion, we have added suborbital and test flight mission types to the system. No code change was necessary, so they are available right now.


r/LaunchLibrary • • Sep 16 '16

LaunchLibrary's community chat.

5 Upvotes

Launchlibrary now has a community chat to have discussions at, for api devs/users to point out errors/flaws (in data or in Librarians) faster or just for people to yell at us because there are no clouds around to yell at instead.

(For error reporting/asking questions /r/launchlibrary will still remain the best place because we won't be active in chat 24/7.)


For now, the only options to connect are:

  • desktop clients

Server: irc.tmro.tv:6667

Channel: #library

  • through a browser

Go to https://chat.tmro.tv/#library


(The future will probably include a direct connect webchat somewhere on launchlibrary.net)


r/LaunchLibrary • • Jul 17 '16

Raspberry Pi countdown display

5 Upvotes

I've had a raspberry pi 3 sitting around doing nothing for a while, so I decided to use it to show me a countdown to the next upcoming launch.

It polls the API once every 10 minutes, just calling next/1 to get the next upcoming launch. It displays the launch name scrolling across the first line of the LCD, the UTC time of the launch on the second line, and a countdown to the launch on the third line.

I also added a button that when clicked, sends a note to my pushbullet account with streaming video links so I can easily access them on my computers / phone.

Here's a pic of the system in action: http://i.imgur.com/xnykODU.jpg

If anyone would like to see my (terrible) python code to adapt to their own needs, you can see it here: https://github.com/brandtamos/launchbox

I use supervisor to auto-start the script when the pi boots up, as well as to auto-restart it if it should error out for some reason.

If anyone is interested I can work to make it more universal for people to install on their own rpis!


r/LaunchLibrary • • Apr 11 '16

Rules around how LaunchLibrary is used?

5 Upvotes

I just stumbled upon this project today (and all of its integrating apps) and I'm super excited about it - I've been looking for a more convenient way to follow this info.

I think I'd like to try out integrating against it myself. As such, I have a few questions:

-Do I need to do anything to 'register' a client or something along those lines? -Are there terms of use or a license that I should be aware of? -Is there rate limiting on number of requests? I expect to cache either way (since the data is fairly static), but I want to make sure I'm not being overly aggressive with requests.