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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d03b3d38f7e045c05c53926deeaac99d4dd83c28e94cc79a051a05a8d0a3c53 |
|
MD5 | 570b96c0923762873a4310ef08f12d6a |
|
BLAKE2b-256 | b6bb5dbaf0aaf0dc4a4c4259d393e67429df8e33cc3b122e12f1a7a0f3d58e85 |
Close
Hashes for pelican_next_meetup-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e758ae575338b463dfa4518897c40bc0acee3418ca28921453e6af262b5514 |
|
MD5 | b70a28a15e28a66f7ff33f464d2e03ce |
|
BLAKE2b-256 | 6c378741a271b3c0e5e62e02a5b4cd0c74ed8b9afe6fc82cebad8bf82d58a586 |