Skip to main content

Pelican plugin to get info on your next meetup.

Project description

Pelican plugin to retrieve information about your group’s next meetup by calling Meetup.com API.

Install

Run pip install pelican-next-meetup, then add next_meetup to pelicanconf.py configuration’sPLUGINS list:

PLUGINS = [
    # all other plugins
    'next_meetup',
]

Set it up

For plugin to call the Meetup.com API, a valid meetup group’s URL must be specified in pelicanconf.py, such as:

MEETUP_URL = 'python-lv'

Plugin will fetch the data of the first upcoming meetup and store data to next_meetup variable for use in templates; if no next meetup is scheduled, variable will be falsy. If code other than HTTP 200 OK is returned, an exception will be raised by requests library.

Example of data returned:

{
  'time': 1452704400000,
  'url': 'http://www.meetup.com/python-lv/events/227548959/',
  'utc_offset': 7200000,
  'name': 'Months 1st #PyNight'
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pelican-next-meetup-0.2.4.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page