This is a Ruby wrapper for the Broadstreet V1 API. It provides convenient access to methods that allow the creation of networks, advertisers, zones, etc.
This gem is available via RubyGems, so a simple:
$ gem install broadstreet
will get you going (or
gem 'broadstreet' if you're using a Gemfile).
First, grab a
Broadstreet::Client object, and give it an API key:
client = Broadstreet::Client.new 'd41d8cd98f00b204e9800998ecf8427e'
Then you're good to go! The objects returned to you are
they're easy to work with in dot notation like so:
# List all networks available to the authenticating user client.list_networks.each do |network| puts network.name end
Now that you're set up to make calls, take a look around the documentation which lists all of the methods and options available:
Want a new endpoint, or some more detail? Will do!
Use the GitHub issue tracker!