Socket
Socket
Sign inDemoInstall

metricsbot

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metricsbot


Version published
Maintainers
1
Created
Source

metricsbot

Ruby gem for MetricsBot domain information API. Metricsbot.com. Visit Metricsbot.com to get your access_token. And refer to the API Docs here.

Installation

gem install metricsbot

Usage

Metricsbot.api_access_token = "your_access_token_here"
Metricsbot.domain('example.com')
Metricsbot.ranking('example.com')
Metricsbot.whois('example.com')

You will receive the following Hash as a response (for successful lookups):

{
  "statusCode"    : "OK",
  "statusMessage" : "",
  "ipAddress"     : "153.19.48.1",
  "countryCode"   : "PL",
  "countryName"   : "POLAND"
}

Running tests

METRICSBOT_ACCESS_TOKEN=<access_token> rake test

Copyright © 2015 Metricsbot.com

FAQs

Package last updated on 06 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc