https://github.com/fccn/rcaap-cienciavitae-model
RCAAP Ciencia Vitae Model and Client
https://github.com/fccn/rcaap-cienciavitae-model
Last synced: 5 months ago
JSON representation
RCAAP Ciencia Vitae Model and Client
- Host: GitHub
- URL: https://github.com/fccn/rcaap-cienciavitae-model
- Owner: fccn
- License: apache-2.0
- Created: 2021-12-13T16:06:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-07T12:04:44.000Z (over 4 years ago)
- Last Synced: 2025-07-24T07:49:38.137Z (11 months ago)
- Language: Java
- Size: 243 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RCAAP version of Cienciavitae Model
This is the Jaxb generated model and a simple client for Ciencia Vitae Rest API (https://api.cienciavitae.pt/docs/).
## Instalation using Maven
You can use maven pom.xml to include this library in your project. Just add this to your ``:
```
pt.rcaap
cienciavitae.model
1.0.0
```
## Usage Example
```
import pt.cienciavitae.ns.search.Search;
import pt.rcaap.cienciavitae.curriculum.client.RestConnector;
import pt.rcaap.cienciavitae.curriculum.client.SearchRestClient;
RestConnector connector = new RestConnector("https://qa.cienciavitae.pt/api/v1.1", "Username", "Password");
SearchRestClient searchPerson = new SearchRestClient(connector);
// search person by id (first row only)
Search result = searchPerson.searchPerson(id, true, null, 1, 1, 0, null);
```