analytics
janjagusch/analytics/meetup
How to set up an analytics pipeline for Meetup on Google Cloud
terraform-meetup-analytics Setting up an analytics pipeline for Meetup on Google Cloud. 🥳 Getting started Requirements What you need to get started: An approved Meetup OAuth consumer A fresh Google Cloud project * Terraform v0.12 or higher Meetup authenticiation Before you can automatically query to Meetup API, you need to request an initial access token and store it in your projects token bucket/blob. The authentication process is documented here. However, meetup-token-manager provides an authentication convenience function: ``python import os from meetup.token_manager.utils import request_token from meetup.token_manager import TokenCacheGCS CLIENT_ID = os.environ["CLIENT_ID"] # the id of your Meetup OAuth consumer CLIENT_SECRET = os.environ["CLIENT_SECRET"] # the secret of your Meetup OA
| Name | Type | Description | Default |
|---|---|---|---|
| project_id | string | ID of the GCP project where to create the infrastructure. | required |
| meetup_group_id | string | ID of the Meetup group to request data from | required |
| meetup_client_id | string | ID of the Meetup client | required |
| meetup_client_secret | string | Secret of the Meetup client | required |
| schedule | string | Crontab for requesting Meetup data | "0 0 * * *" |
| meetup_blob_name | string | Name of the GCS blob where the Meetup token is stored | "token.json" |
| meetup_force_rsvps | bool | Deprecated: Please use 'meetup_force_past_events' instead. | true |
| meetup_force_past_events | bool | Whether to force requesting Meetup RSVPs and attendances even though the event i | true |