Bluekai
Installation
Add this line to your application's Gemfile:
gem 'bluekai'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bluekai
Usage
Before you start, please ensure the following variables are correctly set in your environment: ENV['BLUEKAI_API_USER_KEY']
, ENV['BLUEKAI_API_PRIVATE_KEY']
and ENV['BLUEKAI_PARTNER_ID']
List all self-classification categories
Bluekai::Client.new.category_list({})
Read category parameters including estimated reach (estimated number of unique users based on 30-day inventory) on desktop
Bluekai::Client.new.category_read({category_id: 421426, stats: 'true', device_type: 'desktop'})
Contributing
- Fork it ( https://github.com/[my-github-username]/bluekai/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request