Simple API Wrapper for Tamako API.
Project description
Tamako.py
An easy to use and actually updated Python wrapper for the Tamako API.
State of the project:
The wrapper is in constent development and will continue to be. Everything in the Tamako API.
How to install:
Windows:
pip install Tamako.py
Linux/MacOS:
pip install Tamako.py
Getting Started
Using Tamako.py is quite simple, see the documentation for more details. Nearly all of the features included in this API wrapper work without any api keys. To use the ChatBot feature please take a look at the Tamako documentation.
Quick example of the chatbot:
chatbot = Tamako.chatbot(prvid='', svcid='', svcsecret='', name='', gender='', prefix='', dev='', userid='', message='')
print(chatbot)
where prvid
, svcid
and svcsecret
are the Provision ID, Service ID & Service Secret respectively on the SDC
A quick example of printing a joke:
import Tamako
from Tamako import Tamako
joke = Tamako.joke()
print(joke)
A quick example of printing lyrics of a song:
lyrics = Tamako.lyrics(song_name='Lucid Dreams')
print(lyrics)
A quick example of printing facts of an animal:
fact = Tamako.animal_fact(animal='cat')
print(fact)
A quick example of printing the url of an image
img = Tamako.image(animal='bird')
print(img)
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
Tamako.py-0.7.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for Tamako.py-0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cff59c9e39cd1d70a21a5a45543e16dc9acc79f7ba992a228e5813d70e91415 |
|
MD5 | fdee08b6bb3b9cf1031bb03e70a439dc |
|
BLAKE2b-256 | 29c5816d10c3d656bc5cc6989ee4fa2c645c539b5255e06d089123c9b1443172 |