Sha256: 2cf1c5fdb72ad288b59fa33c0d4e1f5828a3a803b34b043a3bff2058d9ae54b7
Contents?: true
Size: 1.67 KB
Versions: 1
Compression:
Stored size: 1.67 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.3' ``` 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' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
edmunds_api-0.1.4 | README.md |