A python library that aims to retrieve data from Semantic Scholar API
Project description
semanticscholar
A python library that aims to retrieve data from Semantic Scholar API.
How to install
pip install semanticscholar
Usage
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')
>>> 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
2262347
Author Lookup
To access author data:
>>> import semanticscholar as sch
>>> author = sch.author(2262347)
>>> author.keys()
dict_keys(['aliases', 'authorId', 'citationVelocity', 'influentialCitationCount', 'name', 'papers', 'url'])
>>> author['name']
'Alan M. Turing'
>>> len(author['papers'])
77
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
semanticscholar-0.1.3.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file semanticscholar-0.1.3.tar.gz.
File metadata
- Download URL: semanticscholar-0.1.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14856ce490ac5cd3ed4b94573114b6c065021410ecc1ebee4a2d681d25d95a6f
|
|
| MD5 |
8331eb5eb5b52cde01b5ea19c94140ee
|
|
| BLAKE2b-256 |
add9b19fcb766538601c3750a472156b24c1b782dcc1cead76160b69d1b280db
|
File details
Details for the file semanticscholar-0.1.3-py3-none-any.whl.
File metadata
- Download URL: semanticscholar-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25393f0ea5b5df2d45cf9f263716b63b51046e5d9b1994095c1a369cef742505
|
|
| MD5 |
16e7013588bf559705c64fe1ff5f555a
|
|
| BLAKE2b-256 |
d5af73e89dffaac60b3a550ab5ed23415307d161cc29b91da3bf9eace7cbbdf1
|