Pelican plugin to get info on your next meetup.
Project description
# Next Meetup plugin for Pelican
[Pelican](https://github.com/getpelican/pelican) plugin to retrieve information about your group's next meetup by calling [Meetup.com](http://www.meetup.com/) API.
## Install
Run `pip install pelican-next-meetup`, then add `next_meetup` to `pelicanconf.py` configuration's`PLUGINS` list:
``` python
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:
```python
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 code other than HTTO `200 OK` is returned, an exception will be raised by [requests](https://github.com/kennethreitz/requests) library.
Example of data returned:
```javascript
{
'time': 1452704400000,
'url': 'http://www.meetup.com/python-lv/events/227548959/',
'utc_offset': 7200000,
'name': 'Months 1st #PyNight'
}
```
[Pelican](https://github.com/getpelican/pelican) plugin to retrieve information about your group's next meetup by calling [Meetup.com](http://www.meetup.com/) API.
## Install
Run `pip install pelican-next-meetup`, then add `next_meetup` to `pelicanconf.py` configuration's`PLUGINS` list:
``` python
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:
```python
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 code other than HTTO `200 OK` is returned, an exception will be raised by [requests](https://github.com/kennethreitz/requests) library.
Example of data returned:
```javascript
{
'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
Built Distribution
Close
Hashes for pelican-next-meetup-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 767226caa1237d8e971609660d4d0b1137ee820883c4f54e743a42b6d116de85 |
|
MD5 | c842eed91666a5626a70de85ec432f21 |
|
BLAKE2b-256 | debd7f92c78ba35cc311229dc5fcb09e698c62ab6e63a314403e6a17301b79cb |
Close
Hashes for pelican_next_meetup-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ab8187d403e997bf2df35b3a10789d5e7bcda5879e04dfb49ea1f221063acce |
|
MD5 | 0ebd349bd900310145cf4e314b8f9d77 |
|
BLAKE2b-256 | 7c3e3c005c26f2c5dcbd55b303d13e276254675558fda7d826453e8283263a49 |