Installation¶
You’ll need to get a GroupMe account to get started. Got it? Okay, now you’ll need to obtain your access token so you can make API requests:
- Login to the developer portal.
- Click the “Bots” button on the top menu bar.
- Click the “Click here to reveal” button and copy your access token.
- Paste it into a new file called .groupy.key and save it in your user’s home directory.
Now you’re ready to install Groupy!
Using pip¶
Note
Installation via pip coming soon!
From Source¶
- Download Groupy from GitHub.
- Copy the package directory (Groupy/groupy) into your package directory for Python3.
If you have git, it’s as easy as:
$ git clone https://github.com/rhgrant10/Groupy.git
$ cd Groupy
$ cp -r groupy /usr/lib/python3/dist-packages # see note below
If you don’t have git installed (and don’t wish to install it), that’s okay too! You can get the project as a zip file using wget:
$ wget https://github.com/rhgrant10/Groupy/archive/master.zip
$ unzip master.zip
$ cd Groupy-master
$ cp -r groupy /usr/lib/python3/dist-packages # see note below
If neither git nor wget are on your system (for example, you might have Windows installed rather than a flavor of Linux), that’s still okay! Simply click this link to download it using your browser as a zip file.
Note
See this StackOverflow question for help determining the right location.
There, all done! Feels good, right?