Python wrapper for Stitch Data API
pip install python-stitch-data==0.1.7
- Create secrets file
cp .env.example .env
- Fill in secrets (or use environment variables)
stitch app > account settings. Used for public API calls
stitch app > account settings. Used for public API calls
Used for internal api calls
Used for internal api calls
To mitigate the risk of resetting a large table it can be desirable to add sources/streams to explicit blacklist
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()
stitchapi pause-source --source <SOURCE_NAME>