hive-bedrock-api 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +10 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ import axios from "axios";
2
+
3
+ modeule.exports = async function getAlltimeStats() {
4
+ const request = await axios.get(
5
+ `https://api.playhive.com/v0/game/all/sg/ucdfiddes`
6
+ );
7
+ const response = request.data;
8
+
9
+ return response;
10
+ };
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "hive-bedrock-api",
3
+ "version": "0.0.1",
4
+ "description": "A API wrapper for the Minecraft Bedrock server Hive Games.",
5
+ "main": "index.js",
6
+ "license": "MIT",
7
+ "author": "Cubeedge Studios",
8
+ "private": false,
9
+ "dependencies": {
10
+ "axios": "^0.26.0"
11
+ }
12
+ }