Unofficial Python client library for Semantic Scholar APIs.
Project description
semanticscholar
Unofficial Python client library for Semantic Scholar APIs.
Main features
- Simplified access to the Semantic Scholar APIs
- Support for the Academic Graph and Recommendations APIs
- Typed responses
- Streamlined navigation of paginated responses
- Support for asynchronous requests
Quickstart
Installation
pip install semanticscholar
See the install page for more detailed installation instructions.
Usage
# First, import the client from semanticscholar module
from semanticscholar import SemanticScholar
# You'll need an instance of the client to request data from the API
sch = SemanticScholar()
# Get a paper by its ID
paper = sch.get_paper('10.1093/mind/lix.236.433')
# Print the paper title
print(paper.title)
Output:
Computing Machinery and Intelligence
What next?
- Usage - See additional examples to learn how to use the library to fetch data from Semantic Scholar APIs.
- Reference - Get the details of the classes and methods available in the library.
- API Endpoints - Check the supported SemanticScholar API endpoints and which methods implement them.
Semantic Scholar API official docs
If you have concerns or feedback specific to this library, feel free to open an issue. However, the official documentation provides additional resources for broader API-related issues.
- For details on Semantic Scholar APIs capabilities and limits, go to the official documentation.
- The Frequently Asked Questions page also provides helpful content if you need a better understanding of data fetched from Semantic Scholar services.
Contributing
As a volunteer-maintained open-source project, contributions of all forms are welcome! For more information, see the Contributing Guidelines.
Please make sure to understand our Contributor Covenant Code of Conduct before you contribute. TL;DR: Be nice and respectful!
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
Built Distribution
File details
Details for the file semanticscholar-0.10.0.tar.gz
.
File metadata
- Download URL: semanticscholar-0.10.0.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
82f907265aebcb1d9432b1cdd880d706230444515a4b94017358b938d007dbec
|
|
MD5 |
b1d80cf8bbb4d067e0e81cfe0ea1966d
|
|
BLAKE2b-256 |
69903034058446c39b7069baaa2476c3d7649af3729d99137e85f57ae95de460
|
File details
Details for the file semanticscholar-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: semanticscholar-0.10.0-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
28a572eb8504d493ab5671bc3ce76f84ae70534a5828ec0cd38a26f27e66bd02
|
|
MD5 |
b497df5ad5cf48a456915e5eba8f5142
|
|
BLAKE2b-256 |
213ef59d7b485230763f278ece2abece586cd0725512786a4db04b05729d566a
|