Newer
Older
web-services / authorname-disambiguation / README.md

## Utilisation du Web service

## ORCID
cat authorname.json | curl --proxy "" -X POST --data-binary  @-  http://authorname-disambiguator-1.tdmservices.intra.inist.fr/orcid?indent=true

## Fichier d"entrée
un tableau d'objet au format json. L'objet est repréenté de la manière suivante : 
```python
objet = {
        "id" : "0000-0002-8279-9690",
        "value" : {
            "authorname" : "Laurent DUPONT",
            "title" : "Applying a Living Lab Approach to Smart Grid Training Course Design",
            "affiliation" : "Université de Lorraine ERPI / ENSGSI: NANCY, FR ",
            "publication_date" : 2020       
    }
}
```
L'`id` peut prendre n'importe quel valeur qui permet d'identifier l'objet. Dans le cas ci-dessus, nous avons choisi l'Orcid de l'auteur.
`value` contient la notice. les champs de la notice qui seront traités sont : 
`authorname`, `title`, `affiliation`, `coauthors`, `ids`, `keywords`, `publication_date`, `journal`, `email`.

**NB** : Seul le champ authorname est obligatoire.
## Fichier de sortie

On a  : 
```python
objet = {
        "id" : "000-0002-8279-9690",
        "value" : {
            "orcid": "000-0002-8279-9690"
            "score" : 0.23076923076923078,
}
```