Skip to main content

A python library that aims to retrieve data from Semantic Scholar API

Project description


Latest version GitHub license

A python library that aims to retrieve data from Semantic Scholar API.

How to install

pip install semanticscholar


Programmatically access paper and author data.

Paper Lookup

To access paper data:

>>> import semanticscholar as sch
>>> paper = sch.paper('10.1093/mind/lix.236.433', timeout=2)
>>> paper.keys()
dict_keys(['abstract', 'arxivId', 'authors', 'citationVelocity', 'citations', 'doi',
'influentialCitationCount', 'paperId', 'references', 'title', 'topics', 'url', 'venue', 'year'])
>>> paper['title']
'Computing Machinery and Intelligence'
>>> for author in paper['authors']:
...     print(author['name'])
...     print(author['authorId'])
Alan M. Turing

Author Lookup

To access author data:

>>> import semanticscholar as sch
>>> author =, timeout=2)
>>> author.keys()
dict_keys(['aliases', 'authorId', 'citationVelocity', 'influentialCitationCount', 'name', 'papers', 'url'])
>>> author['name']
'Alan M. Turing'
>>> len(author['papers'])

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for semanticscholar, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size semanticscholar-0.1.6-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size semanticscholar-0.1.6.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page