sistrix

A ruby library for the Sistrix web API

How to use Sistrix

Use RubyGems to install sistrix:

$ gem install sistrix

Require the library:

require 'rubygems'
require 'sistrix'

Provide your API credentials:

Sistrix.config do |c|
  c.api_key = YOUR_API_KEY
end

Call individual functions, e.g.

data = Sistrix.domain(:domain => 'zeit.de')
sichtbarkeitsindex = Sistrix.domain_sichtbarkeitsindex(:domain => 'zeit.de')
number_of_pages = Sistrix.domain_pages(:domain => 'zeit.de')
pagerank = Sistrix.domain_pagerank(:domain => 'zeit.de')
age = Sistrix.domain_age(:domain => 'zeit.de')
seo_competitors = Sistrix.domain_competitors_seo(:domain => 'zeit.de')
sem_competitors = Sistrix.domain_competitors_sem(:domain => 'zeit.de')
us_competitors = Sistrix.domain_competitors_us(:domain => 'zeit.de')
kwcount_seo = Sistrix.domain_kwcount_seo(:domain => 'zeit.de')
kwcount_sem = Sistrix.domain_kwcount_sem(:domain => 'zeit.de')

You can see all available methods in the rspec test files “spec/*_spec.rb”

This library supports all available methods. Please refer to the documentation at www.sistrix.de/service/docs/api. The API method domain.overview can be called through Sistrix.domain_overview(). Replace the dot in the original method name by an underscore (_) and call the method statically on the Sistrix class.

Contributing to sistrix

Copyright © 2011-2012 Tobias Begalke. See LICENSE.txt for further details.