An api wrapper for RoboHash
Project description
RoboHashpy
An api wrapper for RoboHash, a cool service by @e1ven, which generates images from random text!
Currently Available Functions
- get_im_hash(text: str,set: int[optional],size: str[optional])
- get_grav_hash(email/hash: str,gravatar: str)
The set parameter can be an integer from 1 to 5 The following list tells what each number, 1 to 5, represents
- Robots
- Monsters
- Disembodied heads
- Kittens
- Humans
Default values
- set:- 1
- size:- 200x200
- gravatar:- no
Sample Usage
from RoboHashpy import RoboHash
rb = RoboHash()
print(rb.get_im_hash("hello there",5,"200x200"))
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
RoboHashpy-0.1.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for RoboHashpy-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42fb38eb24a72032506cb7f16b5993ee708c5239e6442ac7dda1e405ec9cfa03 |
|
MD5 | 93bcd125c780eecc9355dc9d273b433b |
|
BLAKE2b-256 | 5f280fd10055c1521357594c5f8465db19e0488cbeff75942697e9be1e1a2ad8 |