Python wrapper for Stitch Data API
Project description
Stitch-API-python
Python wrapper for Stitch Data API
Installation
pip install python-stitch-data==0.1.3
Getting started
- Create secrets file
cp .env.example .env
- Fill in secrets (or use environment variables)
STITCH_API_KEY
stitch app > account settings. Used for public API calls
STITCH_CLIENT_ID
stitch app > account settings. Used for public API calls
STITCH_AUTH_USER
Used for internal api calls
STITCH_AUTH_PASSWORD
Used for internal api calls
STITCH_BLACKILST_SOURCES
To mitigate the risk of resetting a large table it can be desirable to add sources/streams to explicit blacklist
Usage
import stitch_api
stitch = stitch_api.StitchAPI(STITCH_API_KEY,
STITCH_CLIENT_ID,
STITCH_AUTH_USER,
STITCH_AUTH_PASSWORD,
STITCH_BLACKLIST_SOURCES)
sources = stitch.list_sources()
CLI
stitchapi pause-source --source <SOURCE_NAME>
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
Built Distribution
Close
Hashes for python_stitch_data-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e26b3339305f675ee44c2e7461ae9569d500dd842b16da5543f69f4ebed2ea40 |
|
MD5 | cca7ebb9a8c390a7f523192bb9ecfa5c |
|
BLAKE2b-256 | afbc1955485d36de13f5c5f516aeb43eb3e32bdb2ba7a539dc24d5be5c10f6ef |