GroupMe Ruby Gem (BETA)
A Ruby wrapper for GroupMe REST API (v3).
Installation
Add this line to your application's Gemfile:
gem 'groupme-api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install groupme-api
Configuration
Get a developer access token at: https://dev.groupme.com/
require 'groupme'
client = GroupMe::Client.new(
access_token: 'ax7snqkoRiJ0yGPsbKSgeBnBEtqeSkALMC2qJPrT'
)
Usage
Get All Groups
response, status = client.get('groups')
puts response
Create A Group
response, status = client.post('groups', name: 'New Group')
puts response
Deployment
- Update
lib/groupme/version.rb
& runbundle update
- Commit files ("Bump version to ")
- Run
rake build
- Run
rake release
- Run
gem push pkg/groupme-api-<VERSION>.gem
and enter MFA OTP code - Run
gem push --key github --host https://rubygems.pkg.github.com/kinnell pkg/groupme-api-<VERSION>.gem
for GitHub Packages