Skip to main content

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'
}
```

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

pelican-next-meetup-0.1.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

pelican_next_meetup-0.1.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page