The S API