This is a quick script I started building for the Bristol Codehub meetup to help us find whether there was attendee crossover from another meetup in a given event.
This script was build on python 3.6.5 but will probably work on most python 3.x.x.
Here are the installation steps:
- Create and activate a virtual environment
- Install the requirements:
pip install -r requirements.txt
- Create Meetup API key if you don't have one. You can do that here.
- Expose your key in your shell's environment.
export MEETUP_API_KEY=xxxxxxxx
The script takes 3 arguments:
- The url string identifier of your event's meetup
- The url string identifier of your target meetup
- The url int identifier of your event
Example:
python meetup_union.py 'CodeHub-Bristol' 'python-dbbug' 251030267
This is as quick 'n dirty as it can get.
The api client library will easily bomb out at any little random failures that the meetup API can have.
Feel free to use/improve/further build upon, eg this could be extended to fetch other stats (meetup-wide instead of event-specific or to perform completely different lookups).