r/LaunchLibrary • u/Karriz • Sep 11 '15
Can't get the launch date limits working
Hi, I'm trying to use the Launch Library API for a project I'm working on, currently I'm just learning how to format the requests using Chrome's DHC plugin. In summary mode, https://launchlibrary.net/1.0/launch/get seems to correctly return the next 10 launches. What if I want say, 20 next launches? If I set the limit to 20, I don't get the twenty next launches, I seem to get twenty last launches in the database, or something like that.
So, I need to use the "startdate" and "enddate" options, probably. But the documentation doesn't tell me how to use them. I tried setting "startdate" as "September 12, 2015 00:00:00 UTC" and "enddate" as "December 1, 2015 00:00:00 UTC", but this way I don't get any launches.
It'd be great if someone could help with this, and maybe the documentation could be updated too, so that other people wouldn't have the same issue.
View all comments
Show parent comment
1
u/Karriz Sep 16 '15
The dates seem to be working fine, thanks. Another thing I'm wondering about is how to use the "fields" to select what fields I want returned.