Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 2.5 KB

README.md

File metadata and controls

57 lines (40 loc) · 2.5 KB

Logo

LCAbyg Web API v.1.0

About

Documentation, examples, and use cases of the LCAbyg Web API.

Please be aware that the scope of underlying software architecture is broader than the LCAbyg Web API.

Installation

  1. Get a free API_KEY at https://api.lcabyg.dk/
  2. Clone the repo
   git clone https://github.com/build-aau/lcabyg_web_api_doc.git
  1. Enter your USERNAME and an API_KEY in the example.py or example_explanation.py
   USERNAME = 'INSERT YOUR USERNAME'
   API_KEY = 'INSERT YOUR API KEY'
  1. Based on the login, generate and api access TOKEN that is then used for authentication for all API calls.
  2. Before sending a job, ensure your json projects are compatible with LCAbyg JSON standard.

Documentation

  • api.md
  • csv.md
  • Error messages are located in the output JSON data, "extra_output." We are currently working on improving the debug-functionality and provide more user-friendly error messages.

Examples

  • example.py for using the python packages lcabyg_web_api_py and sbi_web_api_py. In the future, these will be Python libraries.
  • example_explanation.py step-by-step explanation of the LCAbyg Web API.

License

Distributed under the BSD 2-Clause License. See LICENSE.md for more information.

Contribution

If you have a suggestion that would make this better, you are welcome to create a pull request.

Projects using the LCAbyg Web API

If you have a project that uses the LCAbyg Web API, we would love to feature your project here and on the LCAbyg Web API website. Contact Christian Grau Sørensen [email protected]