hyskydata

0.0.6 • Public • Published

HySkyData

This package is meant for those who need hypixel prices

Created by: Apollo#6000

Setup

const hyskydata = require("hyskydata");

Retrieving all items

const hyskydata = require("hyskydata");
 
/**
 * Amount of pages to request
 * An example would be hyskydata.getAll(3);
 * Min-Max: 1-50
 * NOTE: The more pages you request, the more accurate the data is, BUT the slower the output response
 * ANOTHER NOTE: This is an Async/Await function
 */
hyskydata.getAll();

Output

{
  "BROWN_MUSHROOM": {
    "id": "BROWN_MUSHROOM",
    "name": "Brown Mushroom",
    "buyPrice": 9.58452030606239,
    "sellPrice": 8.6,
    "buyVolume": 358005,
    "sellVolume": 335488,
    "tag": null,
    "price": 9.092260153031194
  },
  "INK_SACK:3": {
    "id": "INK_SACK:3",
    "name": "Cocoa Beans",
    "buyPrice": 5.4,
    "sellPrice": 3.4,
    "buyVolume": 758537,
    "sellVolume": 625530,
    "tag": null,
    "price": 4.4
  },
  "INK_SACK:4": {
    "id": "INK_SACK:4"...

Retrieving specific items

const hyskydata = require("hyskydata");
 
/**
 * Supply Item IDs in the array, if there is no such thing it just skips it
 * and outputs whatever it CAN find
 */
hyskydata.getSpecific(["SUPERIOR_FRAGMENT", "SUPERIOR_DRAGON_CHESTPLATE"]);
 

Output

{
  "BOOSTER_COOKIE": {
    "id": "BOOSTER_COOKIE",
    "buyPrice": 969997.5,
    "buyVolume": 2100,
    "sellVolume": 5365,
    "tag": null,
    "price": 960498.9333333333
  },
  "SUPERIOR_FRAGMENT": {
    "id": "SUPERIOR_FRAGMENT",
    "name": "Superior Dragon Fragment",
    "buyPrice": 176792.5,
    "sellPrice": 163000.9,
    "buyVolume": 3112,
    "sellVolume": 207710,
    "tag": "sup frag drag",
    "price": 169896.7
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    3
    • latest

Version History

Package Sidebar

Install

npm i hyskydata

Weekly Downloads

3

Version

0.0.6

License

MIT

Unpacked Size

8.49 kB

Total Files

8

Last publish

Collaborators

  • apollyon365