Discord bot made for checking Vélib' stations availability. Only in french. Made with discord.js. Website available : https://velibot.fr.
Setup tokens to connect to the Discord API : Create the file config.json
and add your bot tokens :
{
"token": "BOT_TOKEN_HERE",
"applicationId": "APPLICATION_ID_HERE"
}
Dependencies installation :
npm install
Declare commands to the Discord API :
node deploy-commands.js
Start the bot :
node .
Gather data from Vélib' API, save every 10 min stations data in data/data.csv
:
node data_loader.js
To read the data, use the notebook data_analysis.ipynb
.