# Example code in Python

{% tabs %}
{% tab title="Overview" %}
We provide *abc\_model\_api\_toolkit* to easily use ABC model API and also give you an example Python script using this toolkit.&#x20;

For more details, visit the [abc\_model\_api\_toolkit GitHub repository](https://github.com/CenterForTheBuiltEnvironment/ABC_toolbox/tree/main/abc_model_api_toolkit) and review the README file.

**Installation**

```sh
!git clone https://github.com/CenterForTheBuiltEnvironment/ABC_toolbox.git
```

**Discrepancies**

* Python 3
* Standard libraries:
  * `json`: Utilized for parsing JSON data.
* `requests`: Used for making HTTP requests to the API.
  {% endtab %}

{% tab title="Example code" %}
Example code in a Python file (.py):

{% @github-files/github-code-block url="<https://github.com/CenterForTheBuiltEnvironment/ABC_toolbox/blob/main/abc_model_api_toolkit/example/example.py>" %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cbe-berkeley.gitbook.io/advanced-berkeley-comfort-abc-model/documentation/abc-model-api/example-code-in-python.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
