# Earth Engine API

{% hint style="info" %}
The interactive colab for using our API can be found in our [ddf\_common github repository](https://colab.sandbox.google.com/github/tnc-br/ddf_common/blob/main/ddf_ee_api.ipynb).
{% endhint %}

Much of the earth engine API is built as wrappers around the Earth Engine Python API which has [a very good tutorial](https://colab.sandbox.google.com/github/google/earthengine-community/blob/master/tutorials/intro-to-python-api/index.ipynb). What the Ddf EE API adds is:

* **Improved usability through automatic authorization of TimberID users**. \
  You do not have to set up your own GCP project to use the API. You only need register with TimberID.<br>
* **Easy to use APIs to access TimberID entered data**.  \
  All data imported into TimberID is automatically exported to Earth Engine in a FeatureCollection. You can access this data with a single API call.<br>
* **Easy to use APIs to access important climate data**. \
  Rasters such as digital elevation are surfaced for you as a Python function, allowing you to access them without requiring knowledge of the Earth Engine path.<br>
* **Performant raster access**. \
  For the rasters we load, there are highly parallel routines for downloading data. You can query raster locations in a bulk query and that will be chunked to many subprocesses for faster downloads.


---

# 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://timberid.gitbook.io/timberid/user-guide/earth-engine-api.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.
