Skip to main content

Use the combined power of the official Meetup API and a web scraper to implement Meetup into your project.

Project description

Meetup-API

Use the combined power of the official Meetup API and a web scraper to implement Meetup into your project.

Want to support the development financially? Donations are always welcomed! Click here to donate on Liberapay

Installation

pip install MeetupAPI

Usage

API credentials optional

Meetup().events()

Based on https://www.meetup.com/meetup_api/docs/:urlname/events/#list

Meetup().events() will return a JSON with events from the group you enter. By default it returns the first 10.000 events of the group.

Required inputs for Meetup():

groupname = str

Optional inputs for .events():

results_per_page = int
pages = 'all' or int
maximum_num_events = int
fields = list

API credentials required

Meetup().create()

Based on https://www.meetup.com/meetup_api/docs/:urlname/events/#create

If successfull, Meetup().create() will return the event it was given, but with the meetup link as event.url_meetup_event. If the request fails, Meetup().create returns None.

Required inputs for Meetup():

groupname = str
email = str, (from your meetup account, for authentication)
password = str (from your meetup account, for authentication)
client_id = str
client_secret = str
redirect_uri = str

Optional inputs for Meetup():

default_space_name = str
default_space_address_street = str
default_space_address_zip = str
default_space_address_city = str
default_space_address_countrycode = str
default_space_how_to_find_us = str
default_space_timezonestring = str

Required inputs for .create():

event = Event class (with fields 
    'str_name_en_US',
    'text_description_en_US',
    'int_minutes_duration',
    'float_lat',
    'float_lon',
    'str_name_en_US',
    'int_UNIXtime_event_start',
    'url_meetup_event' 
    and Event.save() function)

Optional inputs for .create():

announce = boolean (announces the event to group members on meetup)
publish_status = 'draft' or 'published' (default is 'draft')

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

MeetupAPI-1.0.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

MeetupAPI-1.0.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file MeetupAPI-1.0.1.tar.gz.

File metadata

  • Download URL: MeetupAPI-1.0.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for MeetupAPI-1.0.1.tar.gz
Algorithm Hash digest
SHA256 70ed14697346bcd863c0e23a49dc65ff2fe447fec3a9c051f158b258ab93bae7
MD5 659e51ab8a54267d53c6bfca895d1118
BLAKE2b-256 d336091e1a2c77daade59d23d21e56484440e6d38ed311e9d4fa067e2d2ddb6b

See more details on using hashes here.

File details

Details for the file MeetupAPI-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: MeetupAPI-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for MeetupAPI-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7aad91d950140b7c56709ec6b9c78df90af3e9c9d3777ec764ea931871781e8f
MD5 e6b61f75928689aba1a14e836817e353
BLAKE2b-256 5e0ad9d5776de1ffb40a3b671321a340d985bf46d1b7de8e1789410aab4ebc89

See more details on using hashes here.

Supported by

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