salt api for flask