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
Release files for pygroupme 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygroupme-0.0.3.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygroupme-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.2 kB
Release files / pygroupme-0.0.3.tar.gz
| Download URL | pygroupme-0.0.3.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e9fbc523ed6a10230e7edb4cce70d66a6324af696afb2537893b646462f3de5
|
|
BLAKE2b-256 checksum How to use checksums |
c5269098a5ca44acdcb61d041d0e9c126839d2e03369dff2ba540656ab01df5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pygroupme-0.0.3-py3-none-any.whl
| Download URL | pygroupme-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da3d405146558db08b3a8f9ba399a6beee43ec0fc006ebeb0ef65c298ae024df
|
|
BLAKE2b-256 checksum How to use checksums |
56129d148c24cb69fd700fc3da6d16dfe5cfe09461f63410b283f2cb94b7bbac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|