Skip to main content

Python client for the Semantic Scholar API

Project description

Semantic Scholar Python Client

A Python client for the Semantic Scholar API.

Installation

pip install semantic-scholar-api

Quick Start

from semantic_scholar import SemanticScholar

# Initialize client (API key optional for basic usage)
client = SemanticScholar(api_key="your-api-key")

# Search for papers
papers = await client.search_papers("machine learning", limit=10)

# Get paper details
paper = await client.get_paper("paper-id")

Features

  • Async/await support
  • Comprehensive API coverage
  • Type hints throughout
  • Robust error handling
  • Rate limiting built-in

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

semantic_scholar_api-0.1.0.tar.gz (69.4 kB view details)

Uploaded Source

Built Distribution

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

semantic_scholar_api-0.1.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file semantic_scholar_api-0.1.0.tar.gz.

File metadata

File hashes

Hashes for semantic_scholar_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7fbd7dcc757c19e25613b7e99a9137b04eacbb237bab929abd9c6a42b6cb70b6
MD5 b67b54bee618364f0859a671aa7041fd
BLAKE2b-256 2f7ebaaa67ebd5bafc5c81e3cf90e3ec132a468c85be2ceefa71132537f0089d

See more details on using hashes here.

File details

Details for the file semantic_scholar_api-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for semantic_scholar_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fdd9a819fc61caca88a85c9707d4c506be352c1394e022b5500f300e6687be6
MD5 2714a8e785a105f4736d24b3dc5132ff
BLAKE2b-256 bafa7662c46a30c9ac7707c0afdcfc05853d2d836089016f23c446b612b2de82

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