Project

sistrix

0.0
No commit activity in last 3 years
No release in over 3 years
A ruby libary for the Sistrix web API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.6.4
>= 1.3.2
>= 1.8.6

Runtime

 Project Readme

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¶ ↑

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

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