Skip to content

GapIntelligence/gapintelligence-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gap_intelligence

A Ruby interface to the gap intelligence API.

gap intelligence provides the world's most powerful companies with tactical and up to the minute market intelligence.

gap intelligence’s core market intelligence services are widely regarded as the most timely, comprehensive, and easy-to-use tools for manufacturers to keep a close eye on the market

Installation

Add this line to your application's Gemfile:

gem 'gap_intelligence', git: '[email protected]:GapIntelligence/gapintelligence-gem.git'

And then execute:

$ bundle

Or install it yourself by:

$ git clone [email protected]:GapIntelligence/gapintelligence-gem.git
$ bundle
$ bundle exec rake install

Configuration

You can configure default credentials via GapIntelligence.config.

require 'gap_intelligence'

GapIntelligence.configure do |config|
  config.client_id = 'YOUR CLIENT ID HERE'
  config.client_secret = 'YOUR CLIENT SECRET HERE'
end

You may also pass configuration options directly to client constructor. These options take precedence over GapIntelligence.config defaults.

GapIntelligence::Client.new(client_id: 'YOUR CLIENT ID HERE', client_secret: 'YOUR CLIENT SECRET HERE')

Contributing

  1. Clone it ( [email protected]:GapIntelligence/gapintelligence-gem.git )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

This is a Ruby wrapper for the Gap Intelligence API at http://api.gapintelligence.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages