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

nsoufr/social_authority

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages