Create script to pull upcoming LoCo events from loco.ubuntu.com REST API
Bug #1487595 reported by
Elizabeth K. Joseph
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Weekly Newsletter |
Fix Released
|
Wishlist
|
Nathan Handler |
Bug Description
Currently our newsletter just points to a link on loco.ubuntu.com for upcoming events. Michael Hall noted that there is a REST API that we can instead query to pull out events in a date range and post them into a newsletter.
So we need to:
1. Learn the address of the REST API for loco.ubuntu.com
2. Write a Python script to pull all events coming up in the next two weeks and formatted for pasting into the wiki
My vision for format is a bullet-point list:
* Event name, LoCo Team: https:/
Related branches
Changed in uwn: | |
importance: | Undecided → Wishlist |
Changed in uwn: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
It looks like a GET request can be made to a URL like http:// loco.ubuntu. com/services/ events/ ?date_begin_ _gte=2015- 08-21&date_ begin__ lte=2015- 08-23 to get all events within the time period specified.