In [ ]:
import requests

In [ ]:
api_key = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

In [ ]:
url = "https://api.meetup.com/2/open_events"

In [ ]:
params = {'topic':'bluemix', 'key':api_key}

In [ ]:
r = requests.get(url, params=params)

In [ ]:
r.raise_for_status()

In [ ]:
resp = r.json()

In [ ]:
resp.keys()

All the data is in results so pull just that out for ease of reference.


In [ ]:
results = resp['results']

In [ ]:
import pandas as pd

In [ ]:
results[0]

Jamming it into a DataFrame to get the nice table layout. Nested objects will be "eh".


In [ ]:
df = pd.DataFrame(results)

In [ ]:
df.head(1)

In [ ]:
df[['name', 'event_url', 'venue', 'yes_rsvp_count']]

In [ ]: