Skip to content

Added event JSON API#5

Open
evertheylen wants to merge 3 commits intoeestecitt:masterfrom
evertheylen:events_json_api
Open

Added event JSON API#5
evertheylen wants to merge 3 commits intoeestecitt:masterfrom
evertheylen:events_json_api

Conversation

@evertheylen
Copy link

@evertheylen evertheylen commented Apr 16, 2017

This adds a JSON endpoint to the URL /events/list_json. I'm planning to use this for my own LC to display events on our own website. I've also added some fixes I had to do in order to run the application (in manage.py based on this SO answer and requirements.txt (having two haystack libraries is a bit overkill)).

Happy Easter 😄

@evertheylen
Copy link
Author

The output with demo content installed is (formatted and shortened for readability):

{
  "pending_list": [],
  "over_list": [],
  "active_list": [
    {
      "category": "workshop",
      "organizers": ["Andreas Albrecht", "Sebastian Stanislaw Wozny"],
      "description": "Dear EESTECers,\n\nLC Munich is proud to finally announce its workshop. [....] Be fast, as the deadline is quite soon!",
      "end_date": "2017-04-16",
      "slug": "inktronics",
      "organizing_committee": "Munich",
      "thumbnail": "/media/event_thumbnails/inktronics.jpg",
      "deadline": "2017-04-26T14:05:58.020Z",
      "location": null,
      "scope": "international",
      "start_date": "2017-04-16"
    }
  ]
}

@evertheylen
Copy link
Author

So guys, any update? You've had plenty of time to recover from Congress 😉

@chrispanag chrispanag self-assigned this Jul 21, 2017
@evertheylen
Copy link
Author

Bump :)

The new academic year will start soon in Antwerp, we'd like to integrate this before then.

@arphen
Copy link

arphen commented Jan 8, 2019

why isn't this getting merged???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants