Skip to main content

Easy use of the GroupMe API with Python

Project description

PYGROUPME VER 0.0.3

Simple python wrapper for the GroupMe API that allows users to interface with Microsoft's GroupMe messaging platform via the requests module. I created this after realizing that there is no existing wrapper for the API in python, and typing the code necessary to interface with GroupMe repeatedly in code is exhausting. In order to interact with GroupMe, users first need to have a GroupMe account and a designated GroupMe group, then register a bot at https://dev.groupme.com/session/new and provide the program with its bot id to send messages and/or the token code to receive messages.

Example usage:

import pygroupme as pgm

pgm.gm_msg(bid=BOT_ID_HERE, text="Hello, world!") # sends "Hello, world!" to the GroupMe chat in which the user has set up his GroupME api interface
message = pgm.gm_rec(token=USER_TOKEN_HERE, gid=USER_GID_HERE, limt=n) # receive the last n messages from a GroupMe chat, default is 1

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

pygroupme-0.0.3.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

pygroupme-0.0.3-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file pygroupme-0.0.3.tar.gz.

File metadata

  • Download URL: pygroupme-0.0.3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for pygroupme-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4e9fbc523ed6a10230e7edb4cce70d66a6324af696afb2537893b646462f3de5
MD5 27cad17e933606dd42fd9780bbc828b3
BLAKE2b-256 c5269098a5ca44acdcb61d041d0e9c126839d2e03369dff2ba540656ab01df5c

See more details on using hashes here.

File details

Details for the file pygroupme-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pygroupme-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for pygroupme-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 da3d405146558db08b3a8f9ba399a6beee43ec0fc006ebeb0ef65c298ae024df
MD5 1ac22f04d6aea7043dc43b70aa16a0e8
BLAKE2b-256 56129d148c24cb69fd700fc3da6d16dfe5cfe09461f63410b283f2cb94b7bbac

See more details on using hashes here.

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