Adfly

Unofficial API Wrapper for adf.ly

Installation

To use this rubygem:

$ sudo gem install adfly

With bundler:

gem "adfly", "~> 0.0.1"

Some examples

adfly = Adfly::API.new UID, KEY
adfly.create_link url: 'http://www.google.es'
=> "http://adf.ly/eY6Th"

You can specify adver_type(:int or :banner) or domain

adfly.create_link url: 'http://www.google.es', advert_type: :int, domain: 'q.gs'
=> "http://q.gs/eY6Th"

Maybe you want to read adf.ly/publisher/tools#tools-api

Contributing to adfly

Copyright © 2014 pacop. See LICENSE.txt for further details.