You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This client is in **version 0.3.5** and supports **openEO API versions 0.3.0 and 0.3.1**. Legacy versions are available as releases.
7
+
The version of this client is **0.4.0** and supports **openEO API version 0.4.x**. Legacy versions are available as releases.
8
8
9
9
## Usage
10
-
This library can run in a recent browser supporting ECMAScript 2015 or node.js.
10
+
11
+
This library can run in node.js or any recent browser supporting ECMAScript 2017 (ES8). This includes [mostly all browsers released after mid 2017, but excludes Internet Explorer 11](https://caniuse.com/#search=async%20functions).
12
+
13
+
### Browser environment
11
14
12
15
To use it in a browser environment simply add the following code to your HTML file:
var preview =awaitcon.execute(processGraph, "png");
73
+
// Replace ... with your JSON process graph
74
+
var preview =awaitcon.computeResult(..., "png");
78
75
// This returns a Blob object containing a binary PNG file you could further process or show.
79
76
}
80
77
} catch(e) {
81
78
console.log(e);
82
79
}
83
80
```
84
81
82
+
More information can be found in the [**JS client documentation**](https://open-eo.github.io/openeo-js-client/0.4.0/).
83
+
84
+
## Roadmap
85
+
86
+
* The JS client only supports browsers with support for ECMAScript 2017 (ES8). This is a steep requirement and should be lowered by transpiling. [#18](https://github.com/Open-EO/openeo-js-client/issues/18)
87
+
* There's no functionality to build process graphs. An easy-to-use process graph builder is envisioned to be implemented. [#19](https://github.com/Open-EO/openeo-js-client/issues/19)
88
+
* Implement authentification via OpenID Connect. [#11](https://github.com/Open-EO/openeo-js-client/issues/11)
89
+
* See the [issue tracker](https://github.com/Open-EO/openeo-js-client/issues) for more information.
90
+
85
91
## Interactive JS Editor
86
92
87
93
There is an experimental interactive web-based editor for coding using the openEO API,
88
-
where you can define processes and visualizations in JavaScript.
94
+
which is based on the JavaScript client.
89
95
See [https://github.com/Open-EO/openeo-web-editor](https://github.com/Open-EO/openeo-web-editor) for more details.
0 commit comments