Skip to main content

Easy use of the GroupMe API with Python

Project description

PYGROUPME VER 0.0.1

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: [code] 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
[/code]

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.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

pygroupme-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygroupme-0.0.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for pygroupme-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7c67aeef81439fd5bb07d58fa6419137f13dfe9e2c339da47ad16eccb8767fa1
MD5 5700ccefaf919654236559cc9b450b60
BLAKE2b-256 2fb79ea089ba5fcb7942f88e069ad2476a35661976805138670455e8f6f6c60d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygroupme-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for pygroupme-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 558b134aae10981a51d7cc5a3f2b5986454963371d312f3944b70dcc44d51c27
MD5 382623be6202c9c83ad11b7ac0905253
BLAKE2b-256 bcc584040c097f3e8c3190351b2ef8b8e738f3a045440d3935fc783c08b93f92

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