Giter Club home page Giter Club logo

maroapi's Introduction

Maro's API Service (Discontinued)

A Hypixel Skyblock focused API providing an easier way to communicate with Hypixel's API.

The API has different endpoints which include; auction data, networth data, bazaar data and forge profit data.

Setup Instructions using NodeJS

Prerequisites

  • NodeJS >= 14
  • Mongo Database

Local Setup

To get started, clone the repository using:

git clone https://github.com/zt3h/maro-api

Next go into the maro-api folder and install the required dependencies using either Yarn or NPM:

yarn install
npm install

Then you can start the API service using the following command using either Yarn or NPM:

yarn start
npm start

Database Setup

First navigate into the /backup folder and import the .csv files into a Mongo Database.

mongoimport --type csv -d maro -c auctions --headerline --drop auctions.csv <MongoConnectionString>
mongoimport --type csv -d maro -c bazaar --headerline --drop bazaar.csv <MongoConnectionString>
mongoimport --type csv -d maro -c leaderboards --headerline --drop leaderboards.csv <MongoConnectionString>
mongoimport --type csv -d maro -c players --headerline --drop players.csv <MongoConnectionString>

To change the database name replace maro in -d maro with the desired database name.

Once done, you will then need to enter your Mongo DB URL to the config.js before starting the application.

Endpoint Usage

Endpoints that require a valid parameter will be listed on the API documentation which can be found by navigating to the below route once the application has been started.

http://localhost:3000/

For sending a request to the POST endpoints, details on the required body structure and the response format is found here

API Hosts

The below list of domains are users / organisations that have chosen to host this API under their own management. Note that these services could be stopped at anytime, so please make sure to keep up in touch with the owners.

https://maro.skybrokers.xyz - By SkyBrokers (discord.gg/ssb)
https://skyblock.acebot.xyz - By HyperGame (discord.gg/hXPapQ3)

Support / Contact

If you have any questions or queries about the code please join Maro's discord

License

Maro's API is an open-sourced software licensed under the MIT

maroapi's People

Contributors

complexorigin avatar dependabot[bot] avatar exortions avatar itsneyoa avatar zt3h avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.