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'
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pelican-next-meetup-0.2.4.tar.gz.
File metadata
- Download URL: pelican-next-meetup-0.2.4.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa9e367b49f68c2818057726adf8e76a62b28fbf2bacbf4fb174b49f87d7dbfd
|
|
| MD5 |
fca41a8ef77d35294951f2b68db8ab0a
|
|
| BLAKE2b-256 |
9dac0ac2911fb3b7abe4686982e65f00b89aa94f4b3fc46a812ecbec10747745
|