simplificator-compete 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +1 -1
- data/README.rdoc +31 -2
- data/VERSION.yml +1 -1
- metadata +1 -1
data/LICENSE
CHANGED
data/README.rdoc
CHANGED
@@ -1,7 +1,36 @@
|
|
1
1
|
= compete
|
2
2
|
|
3
|
-
|
3
|
+
A wrapper for compete.com API.
|
4
|
+
Can be used to look up information (trust level, rankings, visitors) for a domain.
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
= Requirements
|
9
|
+
You'll need an account at http://developer.compete.com/
|
10
|
+
Depending on number of requests you make you'll need to pay.
|
11
|
+
We (Simplificator) have no connection with compete.com!
|
12
|
+
|
13
|
+
|
14
|
+
= Usage
|
15
|
+
Sign up at http://developer.compete.com/ and get an API key
|
16
|
+
Install the simplificator-compete gem.
|
17
|
+
|
18
|
+
Look at compete.rb to see available information (i.e. metrics_ranking, metrics_link, ...)
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
----
|
23
|
+
require 'rubygems'
|
24
|
+
require 'simplificator-compete'
|
25
|
+
COMPETE_API_KEY = 'your api key'
|
26
|
+
|
27
|
+
info = Compete.for_domain('simplificator.com')
|
28
|
+
puts "Ranking is: #{info.metrics_ranking}"
|
29
|
+
|
30
|
+
----
|
31
|
+
|
32
|
+
|
4
33
|
|
5
34
|
== Copyright
|
6
35
|
|
7
|
-
Copyright (c) 2009
|
36
|
+
Copyright (c) 2009 Simplificator GmbH. See LICENSE for details.
|
data/VERSION.yml
CHANGED