Prototype book api written