Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

hackgvl/events-api

 
 

Repository files navigation

This Project is Archived with a Replacement

This project is no longer used or developed by HackGreenville Labs.

However, an replacement Events API has been integrated into our HackGreenville.com application.

Kudos to Past Contributors

Upstate / Greenville, SC Tech Organization Events API Service

All Contributors

This Python + Pipenv + Flask application previously provided an endpoint to return event data for all organizations listed in the organizations API if they host events on:

Meeting services currently not supported: Facebook, Nvite, Open Collective, and custom websites.

Examples of Previous Consuming Applications

The events listed on supported event services are pulled, combined, and re-published in JSON format or JSON+LD every hour at our Events API endpoint. Additional filtering options are described below.

Contributing to and Running the Application

This project has been replaced, so join us at Events API for get involved in the PHP / Laravel implementation.

There were three ways to run the appliation (locally, locally with Docker, and web server), but start by reading our CONTRIBUTING.md.

Interacting with the API

By default, results were returned in JSON format. If an Accept: application/json+ld header is sent to the API, then it will reply with Schema.org Event markup in JSON+LD format.

The format of the JSON that returns is:

[{
"event_name": "Code For Greenville Work Night",
"group_name": "Code for Greenville",
"group_url": 'https://hackgvl.org',
"venue": null,
"url": "https://www.meetup.com/Code-for-Greenville/events/qwpbksyfchbdb/",
"time": "2023-05-02T22:00:00Z",
"tags": "1",
"rsvp_count": 0,
"created_at": "2021-05-27T02:26:52Z",
"description": "Come and Design, Write Copy, Hack on the Code for Greenville Projects. If you are attending for the first time, we'll have an organizer to explain the active projects. ",
"uuid": "9a1c536a-c0a8-4886-b327-435ec1382dd7",
"nid": "7",
"data_as_of": "2022-05-20T02:40:11Z",
"status": "upcoming",
"service_id": "qwpbksyfchbdb",
"service": "meetup"
}]

Kudos to Past Contributors

  • Thanks to @Nunie123 for the initial development, and to @ramona-spence for sustaining the previous Python implementation.
  • Thanks to @bogdankharchenko for migrating the Python implementation to PHP / Laravel

Notes

  • All timestamps are in UTC.
  • The event description fields may include HTML markup. This application does not sanitize those fields and it's unclear if the upstream source should be trusted, so sanitize any output to avoid malicious XSS.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Ed Nunes
Ed Nunes

🤔 💻
Jim Ciallella
Jim Ciallella

💻 🚧 🚇 📆 👀 🐛 📖 💬
Ramona
Ramona

💻 🤔 📖 🐛
Brett Snipes
Brett Snipes

💻 🐛
Olivia Sculley
Olivia Sculley

💻 🚇 📖 🤔 📦
BigBlueHat
BigBlueHat

🤔 💬
Jeremy Wight
Jeremy Wight

🐛
Matthew Thornton
Matthew Thornton

⚠️ 🚇 🔬

This project follows the all-contributors specification. Contributions of any kind welcome!

About

API for Greenville Tech Calendar events

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.8%
  • Other 1.2%