hivegen-wrapper

Official API Wrapper for Hive Gen (https://hivegen.ntmnathan.com/)

Usage no npm install needed!

<script type="module">
  import hivegenWrapper from 'https://cdn.skypack.dev/hivegen-wrapper';
</script>

README

Hive Gen Wrapper

discord-server npm-version npm-downloads npm-dependencies GitHub repo size CircleCI Status TravisCI Status GitHub package.json version

Official API Wrapper for Hive Gen API. This is my first NPM Module so there can be bugs, also I am terrible with API Documentation sorry!

Getting Started

Install via NPM...

npm install hivegen-wrapper --save
const HiveGenAPI = require("hivegen-wrapper");
const hiveGen = new HiveGenAPI();

All Functions

Banners

Player: String i.e NTMNathan

Bg: game, dark, light

hiveGen.bedrock.allTime.banners.hide(player: String, bg: String)
hiveGen.bedrock.monthly.banners.dr(player: String, bg: String)
hiveGen.bedrock.allTime.banners.dr(player: String, bg: String)
hiveGen.bedrock.monthly.banners.wars(player: String, bg: String)
hiveGen.bedrock.allTime.banners.wars(player: String, bg: String)
hiveGen.bedrock.monthly.banners.murder(player: String, bg: String)
hiveGen.bedrock.allTime.banners.murder(player: String, bg: String)
hiveGen.bedrock.monthly.banners.sg(player: String, bg: String)
hiveGen.bedrock.allTime.banners.sg(player: String, bg: String)
hiveGen.bedrock.monthly.banners.sky(player: String, bg: String)
hiveGen.bedrock.allTime.banners.sky(player: String, bg: String)

Graphs

Type: bar, line

Game: dr, wars, murder, sky, sg

hiveGen.bedrock.graphs.victories(type: String, game: String)
hiveGen.bedrock.graphs.played(type: String, game: String)
hiveGen.bedrock.graphs.kills(type: String, game: String)
hiveGen.bedrock.graphs.deaths(type: String, game: String)