Wrapper around Weboob to expose a HTTP API.

infotuyoob.py 186B

12345678910111213
  1. #!/usr/bin/env python
  2. # coding: utf-8
  3. """
  4. HTTP server wrapper around weboob
  5. """
  6. import sys
  7. from infotuyoob.cmd import main
  8. if len(sys.argv) > 1:
  9. main(sys.argv[1])
  10. else:
  11. main()