Sha256: 3d9214d6f039f1f7be208cbe093ddbbf7fd3b1a3eaca225003ec4806c1f3f29e
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
# Virility Virility calls upon the API's of many popular social services such as Facebook, Twitter and Pinterest to collect the number of likes, tweets, pins etc. of a particular URL. Written with a modular construction, Virility makes it easy to drop new data collection strategies into the framework so that you can collect all of your statistics in one easy location. ## Installation Add this line to your application's Gemfile: gem 'virility' And then execute: $ bundle Or install it yourself as: $ gem install virility ## Usage stats = Virility::Excitation.new("http://rubygems.org") stats.poll # returns a hash with the collected output of all data sources stats.counts # returns a hash of just the virility counts => {:delicious=>943, :facebook=>72, :pinterest=>0, :plusone=>137, :stumbleupon=>1488, :twitter=>2319} stats.total # returns the sum of all virility counts Currently there is support for the following social resources: * Facebook * Twitter * Delicious * Pinterest * Google Plus One * Stumble Upon More detailed information coming soon. ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request == Copyright Copyright (c) 2012 Jay Sanders. See LICENSE.txt for further details.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
virility-0.0.5 | README.md |
virility-0.0.4 | README.md |