An API wrapper for GroupMe
Project description
GroupMe API Python Wrapper
A simple python library that aims to encompass all features of GroupMe present in thier documentation in https://dev.groupme.com/docs/v3
Use Cases
This library is not meant to be used to create a full fledged GroupMe client. It is meant to be used to automate GroupMe (for example, bots, automatic message sending/replying, etc.)
Disclaimer
Because of the uses of this library, I will not be prioritzing it as much as I will other GroupMe projects, as it is simply an API wrapper.
Documentation for this library
Every method in this library, unless otherwise stated below, will return one of the following:
- An error (see error section)
- A python object (see below)
- A dictionary object that has the same structure as its corresponding API endpoint in the https://dev.groupme.com/docs/v3
- True, if there is no return data stated in the offical docs and there wasn't an error raised before it is returned
- generally, if the main message of a result is encompassed in a name, eg: "messages": [] will just be returned as [], and "between": True will just be returned as True. Refer to documentation so you know when this will happen
Methods that will return a different value than a dictionary object with the same structure as its corresponding API endpoint:
- user.get_groups(): [Group object] (Note: [] means a list of objects)
- user.get_former_groups(): [Group object]
- user.create_group(): Group object
- user.update_group(): Group object
- group.add_members(): String (results id) (See documentation for its purpose)
- user.change_owner(): Boolean (True for success, False if not) (Note: this method only supports changing the owner of one group at a time, unlike the endpoint stated in the offcial docs)
- user.get_dms(): [DM object]
- user.create_bot(): Bot object
- user.get_bots(): [Bot object]
- user.does_block_exist(): Boolean (True if exists, False if not)
Future
- The image service will be implemented soon
- Maybe a websocket service for live events?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python-groupmeapi-1.0.0-7.tar.gz.
File metadata
- Download URL: python-groupmeapi-1.0.0-7.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
190be3da68483e1e46c49c9249edf8a8887a37fbe5386020771a6fb9b032e246
|
|
| MD5 |
a87c54e88e202193975343ea546d8afb
|
|
| BLAKE2b-256 |
14a14b84b9ebc96eba18ef19e020862184e99fb360cf0f017e2e98bfda978508
|
File details
Details for the file python_groupmeapi-1.0.0-7-py3-none-any.whl.
File metadata
- Download URL: python_groupmeapi-1.0.0-7-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd9b0e9df851931b11ea8ac0cdff12b83befa5cc965f4cded6276134125aaf1d
|
|
| MD5 |
c7f4db582a92aee3ea9379ad092df448
|
|
| BLAKE2b-256 |
e0dab663472438f3ca2c838cc6bef440575c7f740e9faf99f271b6de74f84bb0
|