gupta-ankit/fitgem_oauth2

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# fitgem_oauth2

[![Build Status](https://travis-ci.org/gupta-ankit/fitgem_oauth2.svg?branch=master)](https://travis-ci.org/gupta-ankit/fitgem_oauth2)
[![Code Climate](https://codeclimate.com/github/gupta-ankit/fitgem_oauth2/badges/gpa.svg)](https://codeclimate.com/github/gupta-ankit/fitgem_oauth2)
[![Test Coverage](https://api.codeclimate.com/v1/badges/038c7943c9a714eb50f9/test_coverage)](https://codeclimate.com/github/gupta-ankit/fitgem_oauth2/test_coverage)

The fitgem_oauth2 gem allows developers to use the [Fitbit API](http://dev.fitbit.com/docs). Certain parts of the code,
structure, and the API are heavily based on the [fitgem](https://github.com/whazzmaster/fitgem) gem which uses OAuth 1.0 for accessing the Fitbit API.



## Usage
Add the following line to use the fitgem_oauth2 gem

```ruby
gem 'fitgem_oauth2'
```

# Quickstart
If you are using fitgem_oauth2 in a Rails application, we have a sample rails application to test out the gem. It is available here https://github.com/gupta-ankit/FitgemOAuth2Rails