On This Page:
Table of Contents |
---|
EagleML REST API
The EagleMLApi library can execute the requests in Asynchronous asynchronous or Synchronous synchronous mode.
The Asynchronous asynchronous mode will receive receives the reply from EagleML API thru through a callback. The EagleML API client sends a REST request to MC2 and waits for the Task Status Reply and the extract data to be delivered asynchronously when ready via a callback.
The Synchronous synchronous mode will execute executes the request and will wait waits for the TSR/reply on the same connection.
To use the library, add the following dependency:
No Format |
---|
dependencies { compile 'com.eagleinvsys.eaglemlapi:eaglemlapiclient:1.2.0' } |
In your theĀ gradle.build
script add:
No Format |
---|
repositories { maven { url "http://inno-artifactory/artifactory/libs-release" } } |
...