Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added event JSON API #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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.

@arpheno
Copy link

arpheno 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