https://github.com/chmoder/strike-api
A python client for the strike api
https://github.com/chmoder/strike-api
bitcoin lightning-network python
Last synced: 2 months ago
JSON representation
A python client for the strike api
- Host: GitHub
- URL: https://github.com/chmoder/strike-api
- Owner: chmoder
- License: apache-2.0
- Created: 2022-10-27T20:40:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-06T18:50:41.000Z (over 2 years ago)
- Last Synced: 2025-04-07T07:11:22.190Z (3 months ago)
- Topics: bitcoin, lightning-network, python
- Language: Python
- Homepage:
- Size: 283 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# strike-python
A python client for the https://strike.me API. This client uses pydantic and encorages strict typing.[](https://badge.fury.io/py/strike-api)
[](https://strike-api.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/github/chmoder/strike-api)## Installation
### Prerequisites
- Python version 3.7+## Quick Start
`$ export STRIKE_API_KEY=`
```python
from strike_api import ratesrates = rates.get_ticker()
rates[0].amount
```## Build strike-api
[Install Poetry](https://python-poetry.org/docs/#installation)
```
python -m pip install --upgrade pip
pip install poetry
poetry install
```### Build Docs
```
cd docs
poetry run sphinx-apidoc -f -o . ../strike_api
poetry run make clean && poetry run make html
```### Run Tests
```
poetry run pytest --record-mode=once
```