import requests


def get_meetup_events(group):
    """Returns a list of events and their details for a given meetup group."""
    url = 'https://api.meetup.com/{group}/events?&sign=true&photo-host=public&page=200&status=past'.format(group=group)
    r = requests.get(url)
    events = r.json()
    return events