Next Meetup plugin for Pelican
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'
}
Metadata
Release files for pelican-next-meetup 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pelican-next-meetup-0.2.4.tar.gz | 2.6 kB | Details |
Release files / pelican-next-meetup-0.2.4.tar.gz
| Download URL | pelican-next-meetup-0.2.4.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa9e367b49f68c2818057726adf8e76a62b28fbf2bacbf4fb174b49f87d7dbfd
|
|
BLAKE2b-256 checksum How to use checksums |
9dac0ac2911fb3b7abe4686982e65f00b89aa94f4b3fc46a812ecbec10747745
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |