Fetch Garfield comics!
Project description
garfieldapi
Yet another Garfield comic finder!
Usage
This package supports image downloading and comic link finding for Garfield comics. Huge thanks to ermel.org for providing all the comics made to this day.
garfieldapi can be run from the command-line and in a python file!
Command line:
>> import garfieldapi
>> garfieldapi.getlnk('19-06-1978') # dd-mm-yyyy format
'http://images.ucomics.com/comics/ga/1978/ga780619.gif'
>> import os
>> garfieldapi.getimg('12-07-2021', os.getcwd(), 'comic') # date, location, filename
>>
Python file (pretty similar):
# This is an example
import garfieldapi
import os
print('Downloading comic from src: '+garfieldapi.getlnk('19-06-1978')+'...')
garfieldapi.getimg('19-06-1978', os.getcwd(), 'comic')
So try everything out!
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
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
File details
Details for the file garfieldapi-0.1.tar.gz.
File metadata
- Download URL: garfieldapi-0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b4e29a217b2a3efd90d91ee8802cb383d524897fafec3d540257e99a019ad82
|
|
| MD5 |
88dfe827266d55a7b50b8b6164582d61
|
|
| BLAKE2b-256 |
5e169e26e4af5fe7f1df5a139e5c62c0c993e8826bcb1e213eef392ee576685c
|
File details
Details for the file garfieldapi-0.1-py3-none-any.whl.
File metadata
- Download URL: garfieldapi-0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27f67b5193bd3227dd1cb255327d02ec55e912b3ba33b9ac59910ee6a792d1dd
|
|
| MD5 |
4f4675303f41ef5c4e113aa77f56112b
|
|
| BLAKE2b-256 |
9971a6f10143f234aded475742b81bcd98f0517b315a262f8f91dbb811a72960
|