config.py 489 B

123456789101112131415161718192021222324252627
  1. api_key = {
  2. 'jcdecaux' : ''
  3. }
  4. # EVENEMENTS A SURVEILLER
  5. events = {
  6. 'ratp_traffic' : ['ligne_metro_7'],
  7. 'jcdecaux_vls' : ['42707_full', '42707_empty']
  8. }
  9. # NOTIFICATIONS
  10. notification = {
  11. 'method' : 'print', # ou "free" ou "sendmail"
  12. 'free' : { # méthode "free" (sms api voir http://mobile.free.fr/ )
  13. 'user' : '123456789',
  14. 'pass' : 'wwwwwwwww'
  15. },
  16. 'sendmail' : { # méthode "sendmail"
  17. 'to' : 'example@example.com',
  18. 'object' : 'Notification traffic'
  19. }
  20. }