You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
739 B

  1. ## Configuration
  2. Get an API token from the Easy My Coop API you wish to connect to
  3. and setup a backend at
  4. - Settings > Technical (debug mode) > EMC Backend
  5. ## Concepts
  6. The models are heavily influenced by the odoo connector:
  7. - emc_backend
  8. - connects to the API, sends HTTP requests, converts json to dictionaries
  9. - <model>_adapter
  10. - uses the backend to send query for model it's responsible for.
  11. - adapts the objects to api format dictionaries
  12. - adapts the result dictionaries to writable dictionaries
  13. - <model>_binding
  14. - links an internal record with an external record for each backend
  15. The <model> is responsible for the orchestration of these components.
  16. In the current implementation, only one backend is allowed.