An easy to use and actually updated Python wrapper for the Tamako API.
The wrapper is in constent development and will continue to be. Everything in the Tamako API.
This project is now discontinued, while it may still work it is not up to my (Leo's) current standard of development and the status of the Tamako API is unknown.
Windows:
pip install Tamako.py
Linux/MacOS:
pip install Tamako.py
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.
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
import Tamako
from Tamako import Tamako
joke = Tamako.joke()
print(joke)
lyrics = Tamako.lyrics(song_name='Lucid Dreams')
print(lyrics)
fact = Tamako.animal_fact(animal='cat')
print(fact)
img = Tamako.image(animal='bird')
print(img)