gdg-x / hub

[DEPRECATED] API Data Hub for the Global GDG Community
https://hub.gdgx.io
Apache License 2.0
36 stars 19 forks source link

Upcoming events API doesn't list all upcoming events #11

Closed Splaktar closed 10 years ago

Splaktar commented 10 years ago

/chapters/:chapterId/events/upcoming Returns a list of all upcoming Events scheduled by the specified Chapter

http://hub.gdgx.io/api/v1/chapters/103959793061819610212/events/upcoming

Should show me the August and October event, but only lists the August event. Ideally it should show events up to 6 months in advance at least (if it can't do 'all upcoming' like it says).

joshuawoodward commented 10 years ago

https://github.com/gdg-x/hub/blob/master/lib/cron/fetch_events.js

Looks like it gets current and current+1 month

mauimauer commented 10 years ago

We could certainly broaden the scope and fetch data for more than one month in advance.

friedger commented 10 years ago

Yes, please!

mauimauer commented 10 years ago

We'll now fetch events up to 3 months in the future.

Splaktar commented 10 years ago

Thank you very much. This seems to be working.