Skip to main content

Easy use of the GroupMe API with Python

Project description


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 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.

Files for pygroupme, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size pygroupme-0.0.3-py3-none-any.whl (2.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pygroupme-0.0.3.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page