Sha256: a78ace073b1b2e9a49b05e3bd99bdc334630d1a9e7ac6199b90d65ab57793376

Contents?: true

Size: 1.7 KB

Versions: 2

Compression:

Stored size: 1.7 KB

Contents

[![Circle CI](https://circleci.com/gh/webstreak/edmunds-api-ruby.svg?style=shield)](https://circleci.com/gh/webstreak/edmunds-api-ruby)
[![Code Climate](https://codeclimate.com/github/webstreak/edmunds-api-ruby/badges/gpa.svg)](https://codeclimate.com/github/webstreak/edmunds-api-ruby)
[![Coverage Status](https://coveralls.io/repos/github/webstreak/edmunds-api-ruby/badge.svg)](https://coveralls.io/github/webstreak/edmunds-api-ruby)
[![Gem Version](https://badge.fury.io/rb/edmunds_api.svg)](https://badge.fury.io/rb/edmunds_api)
[![RubyGems](http://img.shields.io/gem/dt/edmunds_api.svg?style=flat)](http://rubygems.org/gems/edmunds_api)

Edmunds Api ruby client.

> *Status*: Beta. We are preparing the project for public release soon

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'edmunds_api', '~> 0.1.6'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install edmunds_api

## Usage
Add api_key in initializer:

```ruby
  Edmunds.configure do |config|
    config.api_key = 'your-api-key'
    config.timeout = 5
  end
```
Basic usage:
```ruby
vehicles_api = Edmunds::Api.new.vehicles
vehicles_api.makes.count
```
You can also pass options to an Api endpoint:
```ruby
vehicles_api = Edmunds::Api.new.vehicles
vehicles_api.make('Lexus', {state: 'new'})
```
See supported options for each Api endpoint on [Edmunds website](http://developer.edmunds.com/api-documentation/overview/)  

## Supported endpoints
[Endpoints](endpoints.md)

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/webstreak/edmunds-api-ruby.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
edmunds_api-0.1.7 README.md
edmunds_api-0.1.6 README.md