Collects information about the activists in the Czech Python user group and dumps it into a JSON file.
Ugly proof of concept.
-
Login to GitHub as Pyvec Pusher, a shared account for automating, which is a member of both Pyvec and PyLaidesCZ organizations
-
Generate a GitHub token with
public_repo
andread:org
scopes -
Login to Slack as the Pyvec Slack owner
-
Create a new Slack App with
usergroups:read
,users:read
, andusers:read.email
permissions -
Generate an OAuth access token for the app (install the app for the Pyvec workspace)
-
Run:
$ SLACK_API_TOKEN=... GITHUB_TOKEN=... python main.py > members.json