A simple script that connects to eventbrite and compares different events income, based on how many days are left for the event.
The script generates a data.tsv file that can be loaded with the html file also included, and will show a line chart containing the progression of the event.
If the event has not being held yet, a grey area will cover how many days are left.
###Script Eventbrite
###HTML d3.js
Connect to your eventbrite account and fill the settings.py document with your data:
APP_KEY = 'XXXXXXXXXXXXXXXXXX'
USER_KEY = '000000000000000000000'
Once you connect to the website, select your event and you'll find the id on the url (eid) You also can use the API to list all the events available https://www.eventbrite.com/myevent?eid=XXXXXXXXXX
events_ids = [000000001, 000000002]
python compare.py
This command will generate a data.tsv file with all the retrieved data from eventbrite.
Open the index.html on your web browser to compare the results.
I hope it helps someone!
Some example images: