Set field of study at Psychology
This commit is contained in:
parent
bf57208e36
commit
d47042302d
@ -20,5 +20,5 @@ def search_paper(question):
|
|||||||
for i in question:
|
for i in question:
|
||||||
query += "+" + i
|
query += "+" + i
|
||||||
res = requests.get(headers={'x-api-key':__CONFIG__['semAPI']},
|
res = requests.get(headers={'x-api-key':__CONFIG__['semAPI']},
|
||||||
url= 'https://api.semanticscholar.org/graph/v1/paper/search?fields=title,abstract&query='+query[+1:]).json()
|
url= 'https://api.semanticscholar.org/graph/v1/paper/search?fieldsOfStudy=Psychology&fields=title,abstract&query='+query[+1:]).json()
|
||||||
return res['data']
|
return res['data']
|
||||||
|
Loading…
Reference in New Issue
Block a user