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()
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
s1db-1.0.0.tar.gz
(1.6 kB
view hashes)
Built Distribution
s1db-1.0.0-py3-none-any.whl
(1.8 kB
view hashes)