The Brawl Stars API
The Brawl Star API is a RESTful API based on the supercell video game Brawl Stars. You will access data about characters, images.
Prerequisites
- Go (v1.17 o superior)
- Fiber (v2)
Installation
- Clone this repository:
git clone https://github.com/itsbeensolong/api-brawl-stars.git
- Navigate to the project directory:
cd api-brawl-star
- Start the server:
go run .
Endpoints
GET /api/
: .
GET /api/:id
: .
POST /api
: .
PUT /api/:id
: .
DELETE /api/:id
: .
Use
Make sure you have started the server before making any requests to the API. The API will be available in 'http://localhost:8080'.
Errors
The API may return the following status codes and error messages:
404 Not Found: The requested resource was not found.
500 Internal Server Error: Error Server.
Contribution
If you'd like to contribute to this API, feel free to submit pull requests or report issues in the GitHub repository: https://github.com/itsbeensolong/api-brawl-stars
License
This project is licensed under the MIT License.
For inquiries or more information, you can contact me at johancs.mm@gmail.com