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.2.0.tar.gz
(259.5 kB
view details)
Built Distribution
mokkari-3.2.0-py3-none-any.whl
(27.3 kB
view details)
File details
Details for the file mokkari-3.2.0.tar.gz
.
File metadata
- Download URL: mokkari-3.2.0.tar.gz
- Upload date:
- Size: 259.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2be61868794bdb531dca559c8b3c274e5df59e171decda7a25aa51891045f044 |
|
MD5 | 70a288afbe9ce02ee91cc313bc125fe2 |
|
BLAKE2b-256 | e2dcd594a2794f8c7d460eb82d8ad046365830bcbb517dee4abb1bd36be456a6 |
File details
Details for the file mokkari-3.2.0-py3-none-any.whl
.
File metadata
- Download URL: mokkari-3.2.0-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eefe13916f070931dee8e0c9a38bb211f2a863f19487b426c8ba77d49871ae8e |
|
MD5 | 9e023e02147c03c9348a571a328ad0d7 |
|
BLAKE2b-256 | d60e3e6ad59e317ef4bdf5855025d002d8eca7e845a193e8f60ce29b8d824b09 |