Python wrapper for Metron API
Project description
Mokkari
A python wrapper for the Metron Comic Book Database API.
Installation
pipx install mokkari
Example Usage
import mokkari
# Your own config file to keep your credentials secret
from config import username, password
m = mokkari.api(username, password)
# Get all Marvel comics for the week of 2021-06-07
this_week = m.issues_list({"store_date_range_after": "2021-06-07", "store_date_range_before": "2021-06-13", "publisher_name": "marvel"})
# Print the results
for i in this_week:
print(f"{i.id} {i.issue_name}")
# Retrieve the detail for an individual issue
asm_68 = m.issue(31660)
# Print the issue Description
print(asm_68.desc)
Documentation
Read the project documentation
Bugs/Requests
Please use the GitHub issue tracker to submit bugs or request features.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mokkari-3.4.0.tar.gz
(268.4 kB
view details)
Built Distribution
mokkari-3.4.0-py3-none-any.whl
(27.8 kB
view details)
File details
Details for the file mokkari-3.4.0.tar.gz
.
File metadata
- Download URL: mokkari-3.4.0.tar.gz
- Upload date:
- Size: 268.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5caff5856883855e70ff299b795501829469c898f550a8de3124fcffcebcff35 |
|
MD5 | 5aa5f952413892cfd4762c3369940fcf |
|
BLAKE2b-256 | 8dcb3c1a47ff449985b8a997d9e80719368245f536ff2aa0f0b6900db110afa8 |
File details
Details for the file mokkari-3.4.0-py3-none-any.whl
.
File metadata
- Download URL: mokkari-3.4.0-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bf5930cf1c871a0fb6f6d22f94f0ee2092224846832d1ef62a0a7faddf371d4 |
|
MD5 | dee4d3d6f9381ce37f9960378f1fddcc |
|
BLAKE2b-256 | b7ff2888eef9b4e8b0d02b8b69aa0df01f1403c1c6ddd2cc617f1a75671c1d06 |