Last updated:
0 purchases
pelicannextmeetup 0.2.4
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'
}
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.