The Sayari Python SDK provides convenient access to the Sayari API from applications written in Python.
Please see our docs site for more info and or to get in touch with us.
pip install --upgrade sayari
from sayari.client import Sayari
client = Sayari(
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
)
from sayari.client import AsyncSayari
client = AsyncSayari(
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
)
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version. This way, you can install the same version each time without breaking changes.