/Velibot

Discord bot made for checking Vélib' stations availability.

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Banner

Discord bot made for checking Vélib' stations availability. Only in french. Made with discord.js. Website available : https://velibot.fr.

Deploy on your computer

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 .

Data analysis - Work In Progress

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.