A Ruby wrapper for GroupMe REST API (v3).
Add this line to your application's Gemfile:
gem 'groupme-api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install groupme-api
Get a developer access token at: https://dev.groupme.com/
require 'groupme'
client = GroupMe::Client.new(
access_token: 'ax7snqkoRiJ0yGPsbKSgeBnBEtqeSkALMC2qJPrT'
)
response, status = client.get('groups')
puts response
response, status = client.post('groups', name: 'New Group')
puts response
- 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