Language: Any
Must work in: Linux
This task is relatively simple (in theory), but it will help us assess your code organization abilities.
Write a program for meetup.com that sends an auto-RVSP to specific groups. For example, suppose you are a member of 7 different Meetup groups, some of which have very popular events that fill up quickly. You want to sign up for them as fast as possible to ensure that you get a spot.
Your program needs take care of authentication, searching for events in configured groups (not all), and automatically signing up on the user's behalf in a timely manner. Usage of existing Meetup client libraries is permitted.
It's OK for your program to be a simple command-line tool that needs to be run from cron once an hour or something like that.
- Fire the following commands in terminal to create a virtual environment and install the dependencies.
- python3 -m virtualenv ccextractor_env
- source ccextractor_env/bin/activate
- pip3 install -r requirements.txt
- Ensure that you have the username and password of Meetup.com present in your path
- export MEETUP_USERNAME=
user
- export MEETUP_PASSWORD=
pass
- Run
groups.py
thereby generatinggroups.json
python3 groups.py
This generated groups.json
has the groups that you want to auto-RSVP.
- Run
rsvp.py
inorder to RSVP all events available for the selected gropus.
python3 rsvp.py