Skip to content
/ compete Public

A Rails plugin for interacting with the Compete.com API

License

Notifications You must be signed in to change notification settings

edla/compete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Compete.com API Rails Plugin 0.1
. 
. Created by: Ed Laczynski - [email protected]
. Last Modified: July 31, 2008
. For API information and key see:  https://developer.compete.com/
.
===

The Compete.com API Rails plugin provides you with a communication
class for interfacing directly with Compete.  It returns data in XML format and provides a parsing method that will return the latest Compete statistics for easy inclusion in your application.

=== Usage
Install the plugin from Git:

$ cd vendors/plugin
$ mkdir compete
$ git clone [email protected]:edla/compete.git  


@cp = Compete::Base.new( :compete_api_key => YOUR_COMPETE_API_KEY)
@compete_xml = @cp.do( :url => 'www.google.com')
p @cp.parse( @compete_xml )

# {:uv_ranking=>"1", :uv_count=>"135,834,459", :month=>"06", :domain=>"google.com", :year=>"2008", :rank=>"1"}

=== Questions/Comments/Feedback?

I can provide limited support via e-mail at [email protected]


===============================================================
Copyright (c) 2008 Ed Laczynski, released under the MIT license

About

A Rails plugin for interacting with the Compete.com API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages