Python wrapper for Metron API
Project description
Quick Description
A python wrapper for the metron.cloud API.
Installation
PyPi
$ pip3 install --user 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
Bugs/Requests
Please use the GitHub issue tracker to submit bugs or request features.
License
This project is licensed under the GPLv3 License.
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.0.0.tar.gz
(235.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mokkari-3.0.0-py3-none-any.whl
(27.2 kB
view details)
File details
Details for the file mokkari-3.0.0.tar.gz.
File metadata
- Download URL: mokkari-3.0.0.tar.gz
- Upload date:
- Size: 235.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84847d029704bfe7da02c61885dd693a3bb3aa32e5686db7b45743b443d1609c
|
|
| MD5 |
59f13a96873d327788667bee79a1f8aa
|
|
| BLAKE2b-256 |
c1576421c90fe0a0ce147ed6eaf44f9979c1a7b7197c0d750d025d6a51a7520d
|
File details
Details for the file mokkari-3.0.0-py3-none-any.whl.
File metadata
- Download URL: mokkari-3.0.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc0d874d733f66d5d1407dd47763c1ce9dce52ece3053f38577d1671ca0b9d18
|
|
| MD5 |
1137a4533a07a38d11368b01294e82df
|
|
| BLAKE2b-256 |
fa634228a0e3cfbac4697f452a434d94614da8fc7998d2611584315e3fd7639c
|