Spurwing API Python Library
Lightweight Python library for Spurwing's API.
Spurwing's API makes it easy to add robust scheduling and booking to your application. We power millions of appointment bookings for thousands of companies, from marketplaces to SaaS & healthcare. Learn more about the Spurwing Scheduling API.
To use this API you need to obtain API credentials by signin up here: https://spurwing.io/
On your dashboard you will have the "API Info" page with your API key and Provider ID.
API Key: This is your private API Key used for private and authorized operations.
Provider ID: This is your public calendar identifier.
You can use pip to install the library:
pip install spurwing
If you use another method, make sure to install the dependencies:
pip install -r requirements.txt
You can use it as such:
from spurwing import Client as sp PID = 'your_provider_id'; KEY = 'your_api_key'; A = sp.list_appointments(KEY)
The currently implemented API functions and features are:
For additional demos and use cases have a look under
Spurwing's REST API Reference and Docs: https://docs.spurwing.io/
To run our predefined unit tests use the
You also need to provide the API credentials. You can use environment variables, or rename the
config.sample.py file to
config.py and enter your credentials (provider id and api key). Afterwards you can run the
npm tests command. You can optionally use PyTest or another framework.