Skip to content

sanspace/python-kural

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kural API Library

Kural is a wrapper to getthirukkural API.

Installation

Install it using pip.

pip install kural

Usage

Get an API Key from getthirukkural and you can start making API requests as below:

import kural

api = kural.Kural(api_key='API_KEY') # initialize with your key

kural = api.get_kural(2) # fetches you second kural

kurals = api.get_kurals(1,5) # fetches kurals 1 to 5

kural = api.get_random() # fetches a random kural

It is licensed under MIT.

Releases

No releases published

Packages

No packages published

Languages