Skip to content

Retrieves your Meetup group's past events and generates a database.

Notifications You must be signed in to change notification settings

futsaltokyo/history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

History

📅 Retrieves your Meetup group's past events and generates a database.

Motivation

We are building this so we can retrieve data reagrding past events' attendance and members.

The ultimate use of this is to feed our machine learning models to, hopefully, generate some interesting predictions for the organizers of newer events.

Set up

Requires Python 3.6

Dependencies

We use Gunicorn to serve our WSGI application (built with Hug framework).

However, if you are intending to use this for development purpose, Hug has a built-in development server, batteries included.

For persistence, we assume you would be using PostgreSQL as well.

We also use Redis as the backend store for managing background tasks (dumping API results into tables).

$ FUTSALTOKYO_ENV=dev && pip install -r requirements/$FUTSALTOKYO_ENV.txt

Environment Variables

Required environment variables:

name remarks
MEETUP_API_KEY your Meetup API key
MEETUP_GROUP_NAME your Meetup group name, Futsal-Tokyo for example
DB_NAME your database name, defaults to history
DB_HOST your database host, defaults to 127.0.0.1
DB_PORT your database port, defaults to 5432
DB_USER your database username
DB_PASSWORD your database password, if any
REDIS_NAME your database name, defaults to history
REDIS_HOST your Redis host, defaults to 127.0.0.1
REDIS_PORT your Redis port, defaults to 6379
REDIS_PASSWORD your Redis password, if any

We use Heroku to deploy. With Heroku, we can add add-ons for PostgreSQL and Redis. Simply obtain the config for PostgreSQL and Redis and set them as env vars as above.

About

Retrieves your Meetup group's past events and generates a database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published