You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our API server is based on the Flask framework due to it's lightweight nature, high extensibility, and vast community. While, unlike some similar frameworks, Flask does not natively support Web Sockets, this functionality is added in via Gevent.
The LabThings API relies on the conversion between arbitrary Python objects, and useful JSON representations of these objects. Marshmallow provides a simple framework for this conversion process.
It also introduces a standard set of data types that are used to define and parse expected arguments for API requests, and automatically generate full interactive API documentation.