Metadata-Version: 2.4
Name: semantic-scholar-api
Version: 0.1.0
Summary: Python client for the Semantic Scholar API
Project-URL: Homepage, https://github.com/bguisard/semantic-scholar-api
Project-URL: Repository, https://github.com/bguisard/semantic-scholar-api
Project-URL: Documentation, https://github.com/bguisard/semantic-scholar-api#readme
Author: Bruno Guisard
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.10.6
Requires-Dist: tenacity>=9.0.0
Description-Content-Type: text/markdown

# Semantic Scholar Python Client

A Python client for the [Semantic Scholar API](https://www.semanticscholar.org/product/api).

## Installation

```bash
pip install semantic-scholar-api
```

## Quick Start

```python
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
