Api for library app