Skip to main content

General purpose Django Meetup database to sync with Meetup.com.

Project description

This is a general purpose django-app for syncing with Meetup.com and adding adding Meetup.com content to your website.

To use

Install via pip

pip install django-meetup

Add to your Django settings module the following variables

THIRD_PARTY_APPS = [
    ...,
    "meetup",
    ...,
]

MEETUP_KEY = ""

# **Security Warning:** Keep personal Meetup api key secret, read `Meetup documentation <https://secure.meetup.com/meetup_api/key/>`_.

MEETUP_ALLOW_ADMIN = True

# (optional) This boolean will set up admin interface.
# **WARNING:** Methods to sync TO Meetup have not been completed. So any changes to the database are local.

MEETUP_GROUP_ID = 123456789

# (optional) This is the default group id to get information from

To sync group events

To sync up a group, from the command line run

py manage.py sync_group_events <group_id>

How it works

Meetup.com. provides an api which a Meetup.com member can access via api.meetup.com..

This package implements a MeetupClient which uses a meetup member’s meetup api key.. The client can query the meetup api and get back dictionaries of “meetup data”. Note that member permissions on Meetup.com apply to the members api queries.

Models made to mimic hypothesized meetup.com database tables can take the client’s data and turn them into local database objects.

The developer can then use the models to post information onto their webpage.

To contribute

If you have methods or modifications which refine this package please contribute via github astrodsg/django-meetup.

License

Copyright (c) 2014, Dylan Gregersen All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of the Dylan Gregersen, SLC Python nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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

django-meetup-1.0.5.tar.gz (11.7 kB view hashes)

Uploaded Source

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