crazy-toads.github.io/script
Mickael f047dba90f Add cohorte in generation 2019-06-07 18:59:06 +02:00
..
.gitignore use __file__ instead of inspect 2019-06-05 16:57:23 +02:00
README.md Update README.md 2019-06-05 09:57:38 +02:00
getchannels.py Add cohorte in generation 2019-06-07 18:59:06 +02:00
requirements.txt Change rocketchat api 2019-06-05 09:58:59 +02:00

README.md

getchannels

installation

pre-requis

Il faut Python 3 & pip car le code est fait en python.

Installation

Il faut lancer la commande pour avoir les dependences nécessaires :

pip install -r ./requirements.txt

Il faut créer un fichier dev_config.py avec ses infos de connection au Rocket.chat

rocket = {
    'user' : 'username',
    'password': 'pwd'
}

Lancer

python getchannels.py

Commit

Un fichier sera créé dans le répertoire ../public/data/result.json