Skip to main content

Kraken Entity Client

Project description

Kraken Entity Client

Overview

Class to interact with kraken db as entity

How to use

from kraken_entity_client.kraken_entity_client import Kraken_entity_client as K

Set api url

(only have to do it once, will be reused as env variable for other instances)

k1 = K()
k1.set_api_url('https://krakenengine.tactik8.repl.co/api')

Get record

k1 = K()
k1.record_type = 'schema:test'
k1.record_id = 'id_of_record'
k1.get()
record = k1.record

Post record

k1 = K()
k1.record = record
k1.post()

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

kraken-entity-client-0.0.2.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

kraken_entity_client-0.0.2-py3-none-any.whl (5.4 kB view hashes)

Uploaded 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