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 details)
Built Distribution
s1db-1.0.0-py3-none-any.whl
(1.8 kB
view details)
File details
Details for the file s1db-1.0.0.tar.gz
.
File metadata
- Download URL: s1db-1.0.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.33.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 660a0617917680de6a025d0e57bbd4a57f3823baaec862744c43191d6271e7aa |
|
MD5 | 8d7614c6fd189862fe2a1409bef4998b |
|
BLAKE2b-256 | 6d3c759e86c5619e07c36c8feffd3c2cb2d4a9344ac88ee924ba1de3378c9e9d |
File details
Details for the file s1db-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: s1db-1.0.0-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.33.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad8a271af0ab21f0f6cb90e88282dcfa9f060b093782dab23541ed8d6d38a8d1 |
|
MD5 | 569d3b86c230f62ed2b32b02f0598d92 |
|
BLAKE2b-256 | 64a45c2317b3a04e88f5fb6856e4a98a9057de076c31102f6858bd6c4103beea |