Apility - Keep Moochers Out
This is Ruby interface for Moocher api, Currently renamed to Apility , A Reputation API and Anti-Abuse Service. Still in developmental phase.
Currently functioning features are listed below.
###Installation
Add the following to your Gemfile and bundle install
gem 'apility'
Or
gem install moocher
Instantiate Moocher::Resource
require 'apility'
moocher = Apility::Resource.new
Check Blacklisted IP
moocher.ip_blacklisted? "8.8.8.8"
Check Blacklisted domains
moocher.domain_blacklisted? "google.com"
moocher.domain_blacklisted? "google.com", details: true
Check Blacklisted Emails
moocher.email_blacklisted? "goodemail@gmail.com"
moocher.email_blacklisted? "goodemail@gmail.com", details: true
Geolocate IP
moocher.geolocate_ip "8.8.8.8"
moocher.geolocate_ip
Trace Credit Cards
moocher.creditcard "67068224343254254"
The above 'creditcard' function extracts BIN from Creditcard and return its information. BIN typically show the type of card like Debit or Credit, brand of card (e.g. Visa, MasterCard, Discover, American Express, etc.), and level of card such as Classic, Standard, Gold, Platinum, and World Signia. All these information combined with geolocation of the user, card and IP can help to reduce fraud. The service returns the following information:
- Issuer Identification Number (IIN)
- Card Brand
- Card Type
- Country
- Card Scheme
- Bank Logo
- Bank Phone
- Bank Name
- Bank URL
- Bank City
- Prepaid
- Number Length