Enterprise Calendar Management API for web projects
The Spurwing API provides powerful features for calendar management and appointment scheduling purposes. In this post I will briefly go over the API design, and show how you can integrate it in your web development projects with ease.
Managing and scheduling appointments of any kind can be a very complex process. We have to take many factors into consideration, such as overlapping slots, availabilities, timezones and daylight saving times.
On top of that we may need to synchronize it with our other calendars from Google, Outlook and Apple. But it doesn’t stop there, what if someone cancels and we need to re-organize the schedules for optimal efficiency.
Things can quickly get very complicated, especially in large enterprises with employees having multiple calendars.
There are many dedicated calendar management companies out there, unfortunately their core offerings are web calendars with limited API features.
At Spurwing our focus is providing an advanced all-in-one scheduling API. We already took care of all the common complexities and pitfalls in the calendar management process.
The backbone of Spurwing is our advanced yet easy to use REST API. But before you start coding away and reinventing the wheel, we have several official libraries available. You can consult the documentation here:
Spurwing | Stoplight
The API Design Management Platform powering the world's leading API first companies. Powered by Stoplight.
let sp = new Spurwing();const PID = 'your provider id';let allApps = await sp.get_appointment_types(PID, true)
This is a NodeJS implementation of our API. It depends on the axios library for HTTP calls.
const Spurwing = require('spurwing')const PID = 'your_provider_id';
const KEY = 'your_api_key';let sp = new Spurwing();let allApps = await sp.list_appointments(KEY, 1000, 0, PID)
React Widget Demo
This demo project doesn’t use the above libraries, but does illustrate how you can integrate our API in React with axios as HTTP client.
This is a Python implementation of our API. It depends on the
requests library for HTTP calls.
from spurwing import Client as spPID = 'your_provider_id';
KEY = 'your_api_key';A = sp.list_appointments(KEY, 1000, 0, PID)
More libraries are being developed right now for C#, Java/Android, iOS and C++. Follow us on Medium to receive updates on our progress.