r/LaunchLibrary

200 archived posts · Jun 2015 – May 2023

Random post

u/DawnOfAnEra•

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 d

121

u/LaunchLibraryDev•

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 (af

90

u/LaunchLibraryDev•

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! La
84

u/LaunchLibraryDev•

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

84

u/space_vogel•

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 Spac

83

u/DawnOfAnEra•

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, ch

60

u/brandtamos•

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

62

u/caman9119•

I'd like to confidently say, it's done! Woohoo! Except I still have a metric shit ton of things to do. Anyways, got it mostly-stable and wanted to release it to this sub for any interested people. I will be shooting for a small handful of users, activity level doesn't matter just wanna get enough data and feedback to fuel the next steps.

Thanks to LaunchLibrary and team for maintaining everything.

Discussion and bug reports at r/spacelaunchnow.

GitHub

Beta

612


u/LaunchLibraryDev•

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

50

u/CSX6400•
  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

53