New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

semanticscholar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semanticscholar

Unofficial Python client library for Semantic Scholar APIs.

  • 0.10.0
  • PyPI
  • Socket score

Maintainers
1

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!

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc