Sha256: e722c272735dd073183f8d2b56185bd3179f0d056e881493d133fbd869c3ecf9

Contents?: true

Size: 1.17 KB

Versions: 8

Compression:

Stored size: 1.17 KB

Contents

# GroupMe Ruby Gem (BETA)
[![Build Status](https://travis-ci.org/kinnell/groupme-ruby-gem.svg?branch=master)](https://travis-ci.org/kinnell/groupme-ruby-gem)
[![Coverage Status](https://coveralls.io/repos/github/kinnell/groupme-ruby-gem/badge.svg?branch=master)](https://coveralls.io/github/kinnell/groupme-ruby-gem?branch=master)
[![Known Vulnerabilities](https://snyk.io/test/github/kinnell/groupme-ruby-gem/badge.svg?targetFile=Gemfile.lock)](https://snyk.io/test/github/kinnell/groupme-ruby-gem?targetFile=Gemfile.lock)

A Ruby wrapper for [GroupMe REST API (v3)](https://dev.groupme.com/docs/v3).

## Installation

Add this line to your application's Gemfile:

```ruby
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/

```ruby
require 'groupme'

client = GroupMe::Client.new(
  access_token: 'ax7snqkoRiJ0yGPsbKSgeBnBEtqeSkALMC2qJPrT'
)
```

## Usage

#### Get All Groups

```ruby
response, status = client.get('groups')
puts response
```


#### Create A Group

```ruby
response, status = client.post('groups', name: 'New Group')
puts response
```

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
groupme-api-0.9.8 README.md
groupme-api-0.9.7 README.md
groupme-api-0.9.6 README.md
groupme-api-0.9.5 README.md
groupme-api-0.9.4 README.md
groupme-api-0.9.3 README.md
groupme-api-0.9.1 README.md
groupme-api-0.9.0 README.md