No description, website, or topics provided.
JavaScript Python HTML Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
code
.gitignore
README.md
Vagrantfile
setup.sh

README.md

meetup_hacking

A tool for visualising meetup information using Python and RickshawJS

Development Environment

git clone https://github.com/implicit-explicit/meetup_hacking
cd meetup_hacking
vagrant up
vagrant ssh
cd /vagrant/code

You now have a CentOS7 VM with Python33 and you're ready to start running commands.

Pulling member information for a group

  1. First you need to generate your meetup API key at https://secure.meetup.com/meetup_api/key/
  2. Then get the url_name of the meetup group you would like to query. This is the name in the URL when you're looking at it in your browser. So for example the url_name for the Software Circus meetup group would be 'Software-Circus'
  3. Then you can run meetup_members.py
./meetup_members.py <YOUR API KEY> <url_name> [Number of members to pull per batch]

This will write the member information for the specified group to stdout.

Preparing member information for visualisation

Now you have the member data for the specified group but before you have display this you will need to preprocess it first.

  1. Pipe the output of the first command into members_over_time.py.
./meetup_members.py <YOUR API KEY> <url_name> [Number of members to pull per batch] | ./members_over_time.py
  1. The results will be written to stdout. Better to stick them in a file for now.
./meetup_members.py <YOUR API KEY> <url_name> [Number of members to pull per batch] | ./members_over_time.py > <url_name>.json

Displaying your results

  1. Copy your new JSON file into the data directory
mkdir visualization/data
cp <url_name>.json visualization/data
cd visualisation
python -m http.server 8000
  1. Then in a browser navigate to http://localhost:8000/members.html
  2. Kaboom!

Web version

You can use the very basic web version by navigating to /vagrant/code/meetup_members_web, adding your API key in the config.py script, and running the start_app.sh script:

./start_app.sh