https://github.com/google/earthengine-api
Python and JavaScript bindings for calling the Earth Engine API.
https://github.com/google/earthengine-api
Last synced: 27 days ago
JSON representation
Python and JavaScript bindings for calling the Earth Engine API.
- Host: GitHub
- URL: https://github.com/google/earthengine-api
- Owner: google
- License: apache-2.0
- Created: 2015-04-22T00:36:55.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2026-04-27T19:32:57.000Z (about 1 month ago)
- Last Synced: 2026-04-29T06:43:55.849Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 29 MB
- Stars: 3,288
- Watchers: 185
- Forks: 1,074
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
- awesome-earthobservation-code - Earth Engine API - `Python` and `JavaScript` bindings for calling the Earth Engine API. (Earth Engine / Testing your code)
- Awesome-GEE - earthengine-api
README
# Google Earth Engine API
Python and JavaScript client libraries for calling the Google Earth Engine API.
- [Earth Engine Homepage](https://earthengine.google.com/)
- [Web Code Editor](https://code.earthengine.google.com/)
- [Python
Installation](https://developers.google.com/earth-engine/python_install)
Here's an example screenshot and the corresponding Code Editor JavaScript code:

```javascript
// Compute the trend of night-time lights.
// Adds a band containing image date as years since 1991.
function createTimeBand(img) {
var year = ee.Date(img.get('system:time_start')).get('year').subtract(1991);
return ee.Image(year).byte().addBands(img);
}
// Map the time band creation helper over the night-time lights collection.
// https://developers.google.com/earth-engine/datasets/catalog/NOAA_DMSP-OLS_NIGHTTIME_LIGHTS
var collection = ee.ImageCollection('NOAA/DMSP-OLS/NIGHTTIME_LIGHTS')
.select('stable_lights')
.map(createTimeBand);
// Compute a linear fit over the series of values at each pixel, visualizing
// the y-intercept in green, and positive/negative slopes as red/blue.
Map.addLayer(
collection.reduce(ee.Reducer.linearFit()),
{min: 0, max: [0.18, 20, -0.18], bands: ['scale', 'offset', 'scale']},
'stable lights trend');
```
## NOTICE
In order to be more responsive to bug reports and feature requests, we are
currently using the Google Issue Tracker rather than the GitHub Issue tracker.
Please see the [Get Help](https://developers.google.com/earth-engine/help) page
of the Earth Engine documentation for details on how to browse and submit issues
to Issue Tracker.