nandosousafr / social_authority

Tiny wrapper gem for Social Authority SDK

Home Page:http://followerwonk.com/social-authority

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

social_authority

Build Status Code Climate

Tiny Wrapper gem for https://followerwonk.com/social-authority

Getting Started

  1. visit https://followerwonk.com/social-authority and get your credentials (access_id, secret_id).

Installing gem

  gem install social_authority

or in your Gemfile

  gem 'social_authority', git: 'git://github.com/nandosousafr/social_authority.git'

Usage

  require 'social_authority'
  
  request = SocialAuthority::Request.new access_id: ENV['ACCESS_ID'], 
                                                    secret_key: ENV['SECRET_KEY']
  
  request.users =  [:aryrabelo, :nandosousafr]
  
  #  fetching api
  request.get_data
  
  # results
  request.data
  # => [{:user_id=>"91193168", :social_authority=>"1", :screen_name=>"aryrabelo"}, {:user_id=>"35685819", :social_authority=>"6.98", :screen_name=>"nandosousafr"}] 

Todo

  1. Implement Handling of Exceptions

Author

Nando Sousa

About

Tiny wrapper gem for Social Authority SDK

http://followerwonk.com/social-authority

License:MIT License


Languages

Language:Ruby 100.0%