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, Recommendations, and Datasets 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.11.0.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semanticscholar-0.11.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file semanticscholar-0.11.0.tar.gz.

File metadata

  • Download URL: semanticscholar-0.11.0.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for semanticscholar-0.11.0.tar.gz
Algorithm Hash digest
SHA256 91e1233aedbf8e290daf8556fc7a3a6a6db78fe833adee88fd99ddb0a07a0c17
MD5 6c533745d61d117263a37719cbe9749e
BLAKE2b-256 8a5c18302aad8f094b3e4b8bb79ee82dd0fafceee7811f9844c41f393f8a0e5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for semanticscholar-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 824b7c3d11237ec829a211480ed1ed05f4ee9dfdf03e226b04c3d2051ea19b6e
MD5 f39160e02dc53b1b98e059d7dc0471dd
BLAKE2b-256 7eaf0627cf6bb64054d03a1fe8e9b0e659b496794000c30ba4fb921ca8aef20a

See more details on using hashes here.

Supported by

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