This project has some java file examples to test the Java SDK for Gerencianet API.
- Java >= 7.0
Update src/main/resources/credentials.json file with client_id, client_secret and certificate of your application.
You can run using any Java IDE, like Eclipse or Netbeans, with Maven plugin installed, and follow these steps:
- clone this git repository in a local directory of your choice;
- on your IDE, open the folder as a Maven project. It'll download gn-api-sdk-java as a dependencie;
- choose any project's example and run it as a Java Application. The result will be displayed on the console.