config.py 572 B

123456789101112131415161718192021222324252627282930
  1. # API KEYS
  2. api_key = {
  3. 'jcdecaux_vls' : ''
  4. }
  5. # PARAMÈTRES DES SOURCES D'EVENEMENTS
  6. sources_params = {
  7. 'jcdecaux_vls' : {
  8. 'limit_full' : 4, # en dessous de cette limite, une notificaation est envoyée
  9. 'limit_empty': 4 # idem
  10. }
  11. }
  12. # NOTIFICATIONS
  13. notification = {
  14. 'methods' : ['print'], # "free", "sendmail"
  15. 'free' : { # méthode "free" (sms api voir http://mobile.free.fr/ )
  16. 'user' : '123456789',
  17. 'pass' : 'wwwwwwwww'
  18. },
  19. 'sendmail' : { # méthode "sendmail"
  20. 'to' : 'example@example.com',
  21. 'object' : 'Notification trafic'
  22. }
  23. }