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.

Source Distribution

Tamako.py-0.7.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

Tamako.py-0.7-py2.py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page