Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (30 loc) · 1.26 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.26 KB

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