Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@joemccann/robintrack-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@joemccann/robintrack-api

📈 Unofficial node client for the robintrack.net website.

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Robintrack API

📈 Unofficial node.js client for accessing the APIs called on Robintrack.net.

Installation

npm i -S @joemccann/robintrack-api

Usage

const rta = require('@joemccann/robintrack-api')

const params = {
  method: 'largest_popularity_increases',
  options: {
    hours_ago: 48,
    limit: 50,
    percentage: true,
    min_popularity: 50,
    start_index: 0
  }
}

try {
  const {
    data = [],
    statusCode = 0
  } = await rta(params)
  console.dir(data) // [...]
  console.log(statusCode) // 200
}
catch(e){
  console.error(e)
}

Supported Methods

  • largest_popularity_changes
  • largest_popularity_decreases
  • largest_popularity_increases
  • least_popular
  • total_symbols
  • most_popular

Support Options

  • hours_ago
  • limit
  • percentage
  • min_popularity
  • start_index

NOTE: The method total_symbols doesn't support any options.

For more information on the requests and responses view the test file.

Tests

npm i -D
npm test

License

MIT

Authors

Keywords

FAQs

Package last updated on 12 Jul 2020

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