https://github.com/metron-project/simyan
A Python wrapper for the Comicvine API.
https://github.com/metron-project/simyan
api-wrapper comicvine-api pypi-package python python-3
Last synced: 3 months ago
JSON representation
A Python wrapper for the Comicvine API.
- Host: GitHub
- URL: https://github.com/metron-project/simyan
- Owner: Metron-Project
- License: gpl-3.0
- Created: 2021-08-18T04:22:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-20T20:39:51.000Z (6 months ago)
- Last Synced: 2025-04-08T15:15:35.787Z (3 months ago)
- Topics: api-wrapper, comicvine-api, pypi-package, python, python-3
- Language: Python
- Homepage: https://pypi.org/project/simyan
- Size: 11.4 MB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simyan
[](https://pypi.python.org/pypi/Simyan/)
[](https://pypi.python.org/pypi/Simyan/)
[](https://pypi.python.org/pypi/Simyan/)
[](https://opensource.org/licenses/GPL-3.0)[](https://github.com/pre-commit/pre-commit)
[](https://github.com/astral-sh/ruff)[](https://github.com/Metron-Project/Simyan/graphs/contributors)
[](https://github.com/Metron-Project/Simyan/actions/workflows/testing.yaml)
[](https://github.com/Metron-Project/Simyan/actions/workflows/publishing.yaml)[](https://simyan.readthedocs.io/en/stable)
A [Python](https://www.python.org/) wrapper for the [Comicvine API](https://comicvine.gamespot.com/api/).
## Installation
```console
pip install --user Simyan
```### Example Usage
```python
from simyan.comicvine import Comicvine
from simyan.sqlite_cache import SQLiteCachesession = Comicvine(api_key="Comicvine API Key", cache=SQLiteCache())
# Search for Publisher
results = session.list_publishers(params={"filter": "name:DC Comics"})
for publisher in results:
print(f"{publisher.id} | {publisher.name} - {publisher.site_url}")# Get details for a Volume
result = session.get_volume(volume_id=26266)
print(result.summary)
```## Documentation
- [Simyan](https://simyan.readthedocs.io/en/stable)
- [Comicvine API](https://comicvine.gamespot.com/api/documentation)## Bugs/Requests
Please use the [GitHub issue tracker](https://github.com/Metron-Project/Simyan/issues) to submit bugs or request features.
## Contributing
- When running a new test for the first time, set the environment variable `COMICVINE__API_KEY` to your Comicvine API key.
The responses will be cached in the `tests/cache.sqlite` database without your key.## Socials
[](https://matrix.to/#/#metron-general:matrix.org)
[](https://matrix.to/#/#metron-development:matrix.org)