Skip to content

Instantly share code, notes, and snippets.

View pshirali's full-sized avatar

Praveen G Shirali pshirali

View GitHub Profile
#!/usr/bin/env python3
# Example for middleware constructs to handle query and data exchange
# https://rtindru.medium.com/python-middleware-api-client-design-patterns-7c4261ecff88
class Store:
'''Base class. Stores metadata with which it was instantiated.
This class could be extended to perform validation, serialization etc'''

Fetch the RSVP list from a Meetup.com event

  1. Ensure you have curl and jq
  2. Visit: https://secure.meetup.com/meetup_api/key/ while you are logged in. Read all the warnings. Unhide your API-key and save it privately.

On your local machine:

curl -s https://api.meetup.com/<URL_NAME>/events/<EVENT_ID>/rsvps?key=<API_KEY> \
| jq '.[] | select(.response == "yes") | .member.name'

Keybase proof

I hereby claim:

  • I am pshirali on github.
  • I am pshirali (https://keybase.io/pshirali) on keybase.
  • I have a public key ASAnZaG-RTDh_6VGOsAdwzr_HaUwBznht072WBGPHkrszAo

To claim this, I am signing this object: