Skip to main content

S1 API Library for Python

Project description

# Setup
from s1db import S1
api = S1("token-here")

# Set Object:
api.set('key', {'foo': 'bar'}

# Set Raw:
api.set_raw('key', 'Raw Data')

# Get Object:
api.get('key')

# Get Raw:
api.get_raw('key')

# Delete 
api.delete('key')

# Get All Keys -> Returns Object:
api.get_keys()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s1db-1.0.0.tar.gz (1.6 kB view hashes)

Uploaded Source

Built Distribution

s1db-1.0.0-py3-none-any.whl (1.8 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