| HRider API
Español | English


This section shows how to use the API with different use cases examples.
Here you can download the API, see the examples of use cases and view the documentation:


You can find the source code with examples of use cases in . The project uses Eclipse Jersey as REST Client. Besides the dependencies included in the Maven file pom.xml include locally the HRider-API.jar library. The pom.xml file includes:


The token and the connection URL are configured in the file src/main/resources/ For more information, see how to get an API key . Replace yourAuthApiKey with the obtained key:

api.token=bearer yourAuthApiKey

Now we are ready to get the main anchor point. Use the classes ApiClient and HRiderService that includes all the necessary code to create the Jersey client. The basic code for version "v1" would be:

ApiClient client = new ApiClient();
HRiderService service = new HRiderService(client);
Root root = service.get(Root.class, new Link("v1"));