Project

exoteric

0.0
No commit activity in last 3 years
No release in over 3 years
Get page statistics from the most popular social networks.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Exoteric

Exoteric gives you page statistics from the most popular social networks, i.a. number of tweets, how many people shared link on facebook or google plus etc.

Installation

Add this line to your application's Gemfile:

gem 'exoteric'

And then execute:

$ bundle

Or install it yourself as:

$ gem install exoteric

Usage

Pretty simple stuff:

counter = Exoteric.new(:url => 'http://github.com/')
counter.count(:twitter, :facebook, :plusone)

Leaving requested counters blank or specifying :all will cause that all registered APIs will be used to gather page popularity:

counter.count # shortcut for counter.count(:all)

Some APIs required extra parameters, eg. to get github watchers for the repository you must specify :github_repo option:

counter = Exoteric.new(
  :url         => 'http://desantapp.com/', 
  :github_repo => 'nu7hatch/desantapp'
)
counter.count(:github)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request