Skip to content

ComboStrikeHQ/tubemogul-api-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TubeMogul Unofficial gem

Quick hack on the Instagram Gem, adapted for the TubeMogul.

Not endpoint-complete by a far cry, not even tested at all.

This works for my purposes currently, but is obviously a use-at-own-risk piece of software.

Usage

require 'tubemogul'

TubeMogulAPI.configure do |config|
    # Required
    config.client_id		= ENV['TUBE_CLIENT_ID']
    config.client_secret	= ENV['TUBE_CLIENT_SECRET']
end

auth_result = TubeMogulAPI.get_access_token
#<Hashie::Mash ... >

client = TubeMogulAPI::Client.new(access_token: auth_result.token)
#<TubeMogulAPI::Client ... >

client.campaigns
#<Hashie::Mash ... >

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages