Skip to content

A selfhostable API to show how many tickets are remaining for Thekla Thursday & Saturday club nights

License

Notifications You must be signed in to change notification settings

thomaskeig/thekla-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thekla-api

A selfhostable API to show how many tickets are remaining for Thekla Thursday & Saturday club nights. You can also access this API using the root domain thekla.thomaskeig.com

Setup:

  • Create a Vercel project with this link.
  • Deploy your project through Vercel.

Endpoint:

[GET] /remainingTickets

Parameters:

event_index: Index from 0 to 1 for the event type. 0 is Pressure, 1 is Pop Confessional date: The date of the event in the format YYYY-MM-DD (Eg: 2024-05-04) Example URI: https://example.com/remainingTickets?event_index=1&date=2024-05-04

Example Response:

{"date": "2024-05-04", "event": "pop-confessional", "tickets_remaining": 10}

date: The date of the event event: The event name tickets_remaining: How many tickets are left.

Limitations:

Due to how the ticket number is determined, if the tickets remaining is above 10, it is not possible to tell how many tickets are remaining. In this case the ticket count is simply shown as 10.

About

A selfhostable API to show how many tickets are remaining for Thekla Thursday & Saturday club nights

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages