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 details)

Uploaded Source

File details

Details for the file pelican-next-meetup-0.2.4.tar.gz.

File metadata

File hashes

Hashes for pelican-next-meetup-0.2.4.tar.gz
Algorithm Hash digest
SHA256 fa9e367b49f68c2818057726adf8e76a62b28fbf2bacbf4fb174b49f87d7dbfd
MD5 fca41a8ef77d35294951f2b68db8ab0a
BLAKE2b-256 9dac0ac2911fb3b7abe4686982e65f00b89aa94f4b3fc46a812ecbec10747745

See more details on using hashes here.

Supported by

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