Examples:
<ul>
<li><code>https://api.semanticscholar.org/graph/v1/author/1741101</code></li>
<ul>
<li>Returns the author's authorId and name.</li>
</ul>
<li><code>https://api.semanticscholar.org/graph/v1/author/1741101?fields=url,papers</code></li>
<ul>
<li>Returns the author's authorId, url, and list of papers. </li>
<li>Each paper has its paperId plus its title.</li>
</ul>
<li><code>https://api.semanticscholar.org/graph/v1/author/1741101?fields=url,papers.abstract,papers.authors</code></li>
<ul>
<li>Returns the author's authorId, url, and list of papers. </li>
<li>Each paper has its paperId, abstract, and list of authors.</li>
<li>In that list of authors, each author has their authorId and name.</li>
</ul>
<br>
Limitations:
<ul>
<li>Can only return up to 10 MB of data at a time.</li>
</ul>
</ul>
Parameters (2)
author_id(string, path, required)
fields(string, query, optional)
A comma-separated list of the fields to be returned. See the contents of Response Schema below for a list of all available fields that can be returned.
The <code>authorId</code> field is always returned. If the fields parameter is omitted, only the <code>authorId</code> and <code>name</code> will be returned.
<p>Use a period (“.”) for subfields of <code>papers</code>.<br><br>
Examples:
<ul>
<li><code>fields=name,affiliations,papers</code></li>
<li><code>fields=url,papers.year,papers.authors</code></li>
</ul>
import zingu_apis
api = zingu_apis.api("semanticscholar")
result = api.fetch("author/{author_id}", fields="url,papers")
for item in result:
print(item)
const resp = await fetch("https://api.semanticscholar.org/graph/v1/author/1741101?fields=url%2Cpapers");
const data = await resp.json();
import zingu_apis
api = zingu_apis.api("semanticscholar")
result = api.fetch("author/{author_id}", fields="name,url,papers,paperCount,citationCount,hIndex")
for item in result:
print(item)
const resp = await fetch("https://api.semanticscholar.org/graph/v1/author/1741101?fields=name%2Curl%2Cpapers%2CpaperCount%2CcitationCount%2ChIndex");
const data = await resp.json();