GitHub - j0k3r/tourdefrance-slack-bot: TourDeFranceBot will notify a Slack channel/group for every stage during the Tour de France 2016
Skip to content

TourDeFranceBot will notify a Slack channel/group for every stage during the Tour de France 2016

License

Notifications You must be signed in to change notification settings

j0k3r/tourdefrance-slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tour de France Slack Bot

TourDeFranceBot will notify a Slack channel/group for every stage during the Tour de France 2016.

It uses the unofficial letour.fr json API (the one used for their mobile app iOS/Android).

It will post a message :

  • when a stage will start (with info about it + map)
  • every telegrams from the feed (could be too verbose..)

Preview

Here is a preview of the Le Touquet-Paris-Plage - Lille Métropole stage (from 2014).

tourdefrance-slack-bot sample1


tourdefrance-slack-bot sample2

Requirements

Installation

  • Clone this repo
  • Set up a cron to run every minute:
* * * * * cd /path/to/folder && php tourDeFranceNotifier.php >> tourDeFranceNotifier.log

Translation

Everything can be posted in 4 differents languages (de, en, es, fr). Spanish & Deutsch need to be done.

Side notes

The code is ugly but it works ©

About

TourDeFranceBot will notify a Slack channel/group for every stage during the Tour de France 2016

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages