Introduction
+Documentation for the HackGreenville API. This API provides access to data stored in the HackGreenville database, such as events, organizations and more.
+ +This documentation aims to provide all the information you need to work with our API.
+ +Authenticating requests
+This API is not authenticated.
+ +Endpoints
+ + + +Events API v0
+ ++
+ +This API provides access to event data stored in the HackGreenville database.
+ + +Example request:+ + +
curl --request GET \
+ --get "http://localhost/api/v0/events?start_date=2025-01-01&end_date=2100-12-31&tags=1" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost/api/v0/events"
+);
+
+const params = {
+ "start_date": "2025-01-01",
+ "end_date": "2100-12-31",
+ "tags": "1",
+};
+Object.keys(params)
+ .forEach(key => url.searchParams.append(key, params[key]));
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+fetch(url, {
+ method: "GET",
+ headers,
+}).then(response => response.json());import requests
+import json
+
+url = 'http://localhost/api/v0/events'
+params = {
+ 'start_date': '2025-01-01',
+ 'end_date': '2100-12-31',
+ 'tags': '1',
+}
+headers = {
+ 'Content-Type': 'application/json',
+ 'Accept': 'application/json'
+}
+
+response = requests.request('GET', url, headers=headers, params=params)
+response.json()++Example response (200):
+
+
+[
+ {
+ "event_name": "Voluptas facere aut inventore.",
+ "group_name": "Alexandrine Murazik Sr. tech group",
+ "group_url": "soluta",
+ "url": "http://www.bins.com/quidem-iste-omnis-porro-itaque-atque",
+ "time": "2025-06-15T11:11:21.000000Z",
+ "tags": "",
+ "status": "past",
+ "rsvp_count": 32,
+ "description": "Quam vitae autem omnis hic. Atque suscipit laudantium ab.",
+ "uuid": "3f52216b-2c4b-30fa-8d5b-28b6118e4724",
+ "data_as_of": "2025-07-02T15:42:50.996526Z",
+ "service_id": "4",
+ "service": "eventbrite",
+ "venue": {
+ "name": "consequatur provident quo eaque assumenda",
+ "address": "46424 Kautzer Square Apt. 131\nStoltenbergside, MT 10023",
+ "city": "Port Kamrenhaven",
+ "state": "Et.",
+ "zip": "12977",
+ "country": "BL",
+ "lat": "-65.835211",
+ "lon": "57.246265"
+ },
+ "created_at": "2025-07-02T15:42:50.000000Z"
+ }
+]
+
+
+
+ Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Organizations API v0
+ ++
+ +This API provides access to organization data stored in the HackGreenville database.
+ + +Example request:+ + +
curl --request GET \
+ --get "http://localhost/api/v0/orgs?tags=1" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost/api/v0/orgs"
+);
+
+const params = {
+ "tags": "1",
+};
+Object.keys(params)
+ .forEach(key => url.searchParams.append(key, params[key]));
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+fetch(url, {
+ method: "GET",
+ headers,
+}).then(response => response.json());import requests
+import json
+
+url = 'http://localhost/api/v0/orgs'
+params = {
+ 'tags': '1',
+}
+headers = {
+ 'Content-Type': 'application/json',
+ 'Accept': 'application/json'
+}
+
+response = requests.request('GET', url, headers=headers, params=params)
+response.json()++Example response (200):
+
+
+[
+ {
+ "title": "debitis",
+ "path": "https://www.volkman.com/quas-quos-id-rerum-et-dolorem",
+ "changed": "2025-07-02T15:42:51.000000Z",
+ "field_city": "Cummingsbury",
+ "field_event_service": null,
+ "field_events_api_key": null,
+ "field_focus_area": "ipsam",
+ "field_homepage": "debitis",
+ "field_event_calendar_homepage": "http://quigley.biz/nihil-ipsum-debitis-magnam",
+ "field_primary_contact_person": "odit",
+ "field_org_status": "active",
+ "field_organization_type": "tenetur",
+ "field_year_established": 2025,
+ "field_org_tags": "",
+ "uuid": 101
+ }
+]
+
+
+
+ Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+
+
+
+
+
+