Metadata-Version: 2.3
Name: sosovalue-pandas
Version: 0.1.0
Summary: Python client for the SoSoValue API returning pandas DataFrames
Author: Lucas Jamar
Author-email: Lucas Jamar <lucasjamar@hotmail.com>
License: MIT
Requires-Dist: httpx>=0.27
Requires-Dist: pandas>=2.0
Requires-Python: >=3.11
Project-URL: Homepage, https://github.com/sigma-quantiphi/sosovalue-pandas
Project-URL: Repository, https://github.com/sigma-quantiphi/sosovalue-pandas
Description-Content-Type: text/markdown

# sosovalue-pandas

Python client for the [SoSoValue](https://sosovalue.com) API that returns data as pandas DataFrames.

## Installation

```bash
uv add sosovalue-pandas
# or
pip install sosovalue-pandas
```

## Usage

```python
from sosovalue_pandas import SoSoValueClient

client = SoSoValueClient(api_key="your-api-key")

# Single asset ETF inflows (~300 daily points)
df = client.get_etf_historical_inflow_chart("btc")

# All supported assets in one DataFrame
df = client.get_all_etf_inflows()
print(df.columns)
# date, totalNetInflow, totalValueTraded, totalNetAssets, cumNetInflow, base
```

## Supported assets

`btc`, `eth`, `sol`, `doge`, `ltc`, `link`, `avax`

## API key

Get your API key from [SoSoValue OpenAPI](https://openapi.sosovalue.com).

## License

MIT
