config.py 604 B

12345678910111213141516171819202122232425262728
  1. api_key = {
  2. 'jcdecaux' : ''
  3. }
  4. # SOURCES D'EVENEMENTS A SURVEILLER
  5. sources = {
  6. 'ratp_trafic' : ['ligne_rer_B', 'ligne_metro_7'],
  7. 'transilien' : ['RER-B', 'RER-C', 'Train-U'],
  8. 'jcdecaux_vls' : ['42707_full', '42707_empty', '42703_empty', '19001_full', '8038_empty']
  9. }
  10. # NOTIFICATIONS
  11. notification = {
  12. 'method' : 'print', # ou "free" ou "sendmail"
  13. 'free' : { # méthode "free" (sms api voir http://mobile.free.fr/ )
  14. 'user' : '123456789',
  15. 'pass' : 'wwwwwwwww'
  16. },
  17. 'sendmail' : { # méthode "sendmail"
  18. 'to' : 'example@example.com',
  19. 'object' : 'Notification trafic'
  20. }
  21. }