Tested and updated API for getting books on shelf