Skip to content
Snippets Groups Projects
Commit d436e535 authored by Elias Chetouane's avatar Elias Chetouane
Browse files

Version fonctionnelle pour l'ajout d'infos sur les clients datacite.

parent 008af182
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ if temp_rows :
client_urls = []
for i in range(0, len(df_client_raw)):
client = df_client_raw.iloc[i].name
req = requests.get('https://api.datacite.org/clients?query=id:%22'+str(client)'%22')
req = requests.get('https://api.datacite.org/clients?query=id:%22'+str(client)+'%22')
client_names.append(req.json()["data"][0]["attributes"]["name"])
client_years.append(req.json()["data"][0]["attributes"]["year"])
client_urls.append(req.json()["data"][0]["attributes"]["url"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment