Sha256: 0dca6ab426283597ff81f9a440553f0003d882729f67cd19e9542646044cb977
Contents?: true
Size: 857 Bytes
Versions: 2
Compression:
Stored size: 857 Bytes
Contents
= compete A wrapper for compete.com API. Can be used to look up information (trust level, rankings, visitors) for a domain. = Requirements You'll need an account at http://developer.compete.com/ Depending on number of requests you make you'll need to pay. We (Simplificator) have no connection with compete.com! = Usage Sign up at http://developer.compete.com/ and get an API key Install the simplificator-compete gem. Look at compete.rb to see available information (i.e. metrics_ranking, metrics_link, ...) ---- require 'rubygems' require 'simplificator-compete' COMPETE_API_KEY = 'your api key' info = Compete.for_domain('simplificator.com') if info.data_available? puts "Ranking is: #{info.metrics_ranking}" else puts "no data" end ---- == Copyright Copyright (c) 2009 Simplificator GmbH. See LICENSE for details.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
compete-0.2.1 | README.rdoc |
compete-0.2.0 | README.rdoc |