0.0
No commit activity in last 3 years
No release in over 3 years
Edmunds Api ruby client
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 12.3
~> 3.5
~> 2.1

Runtime

~> 2.0
 Project Readme

Tests Code Climate Coverage Status Gem Version RubyGems

Edmunds Api ruby client.

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

Installation

Add this line to your application's Gemfile:

gem 'edmunds_api', '~> 0.1.8'

And then execute:

$ bundle

Or install it yourself as:

$ gem install edmunds_api

Usage

Add api_key in initializer:

  Edmunds.configure do |config|
    config.api_key = 'your-api-key'
    config.timeout = 5
  end

Basic usage:

vehicles_api = Edmunds::Api.new.vehicles
vehicles_api.makes.count

You can also pass options to an Api endpoint:

vehicles_api = Edmunds::Api.new.vehicles
vehicles_api.make('Lexus', {state: 'new'})

See supported options for each Api endpoint on Edmunds website

Supported endpoints

Endpoints

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.