Skip to main content

wrapper over API

Project description

import kavahq
import keyring
import getpass

SERVICE = 'kavahq-api'
username = 'imposeren'
password = keyring.get_password(SERVICE, username)
if password is None:
    password = getpass.getpass()
    keyring.set_password(SERVICE, username, password)

api = kavahq.KavaApi(username=username, password=password)

print api.get_projects(company='42-coffee-cups')
print api.get_project('kavyarnya')

cc = api.get_company('42-coffee-cups')
# print cc.add_project({'name': 'new test'})
print cc.projects()
print cc.project('kavyarnya')

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 kavahq-api, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size kavahq-api-0.0.1.linux-x86_64.tar.gz (3.8 kB) File type Dumb Binary Python version any Upload date Hashes View
Filename, size kavahq-api-0.0.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page