Example Discord Bot that use CHub API to get info about fivem player activitie. This project was created to show how can you use our api.
- Download and install the LTS version of Node.js.
- Download or clone the repo with
git clone https://github.com/CreativeHubTeam/FivemInfoBot
. - Install all dependencies with
npm i
. - Create a new file named
.env
in the root directory, copy content from.env.example
, then replace placeholders by your own values
In this project we used private CHub API.
To obtain an API key, you need to contact with one of CHub Team members.
Documentation for the API you can find here.