🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@rambotrades/hexaone-client

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@rambotrades/hexaone-client

A typesafe client to interact with the hexa.one API

unpublished
latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

HEXA.ONE API Client

code style: prettier

About

A typesafe client to interact with the HEXA.ONE API endpoints.

Installation

$ npm i @rambotrades/hexaone-client

Usage

Run in Postman

:warning: Disclaimer: In order to use any available endpoint by HEXA.ONE you will need a personal {API_KEY}

import { HexaoneClient } from '@rambotrades/hexaone-client';
const client = new HexaoneClient('API_KEY'); // <- Put your API_KEY here.
async function main() {
  const {
    status,
    data: { prices },
  } = await client.getPrices(578080);

  const count = Object.keys(prices).length;

  console.log(`${status} - ${count} item prices`);
}

Error Codes

Status CodeMessageDescription
200OKThe request was received successfully.
401UnauthorizedAuthorization failed.
402Payment RequiredUnsufficient balance.
403ForbiddenSteam privacy settings forbid this action.
404Not FoundThe endpoint doesn't exist.
500Internal Server ErrorThe service is having issues.

More

For more information join their Discord

FAQs

Package last updated on 13 Nov 2021

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