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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file Tamako.py-0.7.tar.gz.

File metadata

  • Download URL: Tamako.py-0.7.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for Tamako.py-0.7.tar.gz
Algorithm Hash digest
SHA256 3361ed15fd8504f9658115f8dd866bc9f1f58fea3935aba1e7560d2a68063ad8
MD5 005ff9d6cd262507f4976244d8d48f6f
BLAKE2b-256 c079a0b17ae867794e8c9a06b53a9df89c9d662af4eaac654aa4b4c62642dd39

See more details on using hashes here.

File details

Details for the file Tamako.py-0.7-py2.py3-none-any.whl.

File metadata

  • Download URL: Tamako.py-0.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for Tamako.py-0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4cff59c9e39cd1d70a21a5a45543e16dc9acc79f7ba992a228e5813d70e91415
MD5 fdee08b6bb3b9cf1031bb03e70a439dc
BLAKE2b-256 29c5816d10c3d656bc5cc6989ee4fa2c645c539b5255e06d089123c9b1443172

See more details on using hashes here.

Supported by

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