This is an API that you can run locally and get data for Minecraft items and blocks. It uses SwaggerUI so it's easy to use.
- JavaScript
- Swagger UI
git clone https://github.com/PetarMc1/Minecraft-Items-API
npm install
The default port is 6060
.
You can set a custom port for the API to run on. To do so, modify the port.js file.
npm start
You can access the API documentation by navigating to a specific URL in your web browser.
- Open your web browser and type http://localhost:PORT/api-docs in the address bar, replacing PORT with the port number the API is running on.
Once you are in the /api-docs page you'll see a list of available endpoints along with their descriptions, request parameters, and response schemas.
You can make requests directly from Swagger UI by clicking on the endpoint you want to test, filling in any required parameters, and clicking the "Try it out" button.
Swagger will send the request to the API server and display the response, allowing you to inspect the data returned by the API.
Check CONTRIBUTING.md
This project is licensed under the Mit License - see the LICENSE file for details.