Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Tamako.py, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size Tamako.py-0.6-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Tamako.py-0.6.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page