Open-EO / openeo-js-client

JavaScript and TypeScript client for the openEO API.
https://open-eo.github.io/openeo-js-client/latest/
Apache License 2.0
15 stars 6 forks source link

Don't work on a global instance #3

Closed m-mohr closed 5 years ago

m-mohr commented 6 years ago

Currently the client works on a global instance. It means it is hard to work on two different servers, e.g. to request the capabilities. We should make this a class that can be instantiated multiple times.

m-mohr commented 6 years ago

We should wait with the implementation of this until https://github.com/Open-EO/openeo-api/issues/81 is decided upon.

christophfriedrich commented 5 years ago

The rewrite branch in my fork (meanwhile merged into development here) addresses this issue. It follows the new client dev guidelines that API issue is about and therefore provides a class for encapsulated instances instead of an global object.

-> closing