Skip to main content

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.

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


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.10.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

semanticscholar-0.10.0-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

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

Hashes for semanticscholar-0.10.0.tar.gz
Algorithm Hash digest
SHA256 82f907265aebcb1d9432b1cdd880d706230444515a4b94017358b938d007dbec
MD5 b1d80cf8bbb4d067e0e81cfe0ea1966d
BLAKE2b-256 69903034058446c39b7069baaa2476c3d7649af3729d99137e85f57ae95de460

See more details on using hashes here.

File details

Details for the file semanticscholar-0.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for semanticscholar-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28a572eb8504d493ab5671bc3ce76f84ae70534a5828ec0cd38a26f27e66bd02
MD5 b497df5ad5cf48a456915e5eba8f5142
BLAKE2b-256 213ef59d7b485230763f278ece2abece586cd0725512786a4db04b05729d566a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page