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.3.0.tar.gz
(263.3 kB
view details)
Built Distribution
mokkari-3.3.0-py3-none-any.whl
(27.8 kB
view details)
File details
Details for the file mokkari-3.3.0.tar.gz
.
File metadata
- Download URL: mokkari-3.3.0.tar.gz
- Upload date:
- Size: 263.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a564c247ed1bf23226b4ddb1c4cbc18d6ce2b89571e7ee8d478ebedabacdfed6 |
|
MD5 | c9c5a55c271fdb9325841846c4ffe830 |
|
BLAKE2b-256 | b261acc2949e7309ad76043ef6822fa26a2114f666f7e39d5e92dff848967889 |
File details
Details for the file mokkari-3.3.0-py3-none-any.whl
.
File metadata
- Download URL: mokkari-3.3.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.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d81e359a49fc81ac02abc8cd434edc1de90fd02e1fc4093f7c591f6b2d64226 |
|
MD5 | 0fff97f5de5ddaef1792435fb0fb00dd |
|
BLAKE2b-256 | f4e6536d032d84648190cfea10d45a41765c35b204272771a60d4be821d22771 |