by lr0 | 2025-07-19 15:46:36+00:00
Tried to use it, getting:

Application error: a client-side exception has occurred while loading www.lorekeep.io (see the browser console for more information).

Looks like you need to handle some null cases from your API response. Console:

Uncaught TypeError: Cannot read properties of null (reading 'description') at 870-062d78834b42ed0a.js:1:924 at Array.map (<anonymous>) at o (870-062d78834b42ed0a.js:1:904) at lS (4bd1b696-75688abf446dcbb2.js:1:39319) at ot (4bd1b696-75688abf446dcbb2.js:1:64567) at ov (4bd1b696-75688abf446dcbb2.js:1:75632) at ic (4bd1b696-75688abf446dcbb2.js:1:112354) at 4bd1b696-75688abf446dcbb2.js:1:112199 at is (4bd1b696-75688abf446dcbb2.js:1:112207) at u9 (4bd1b696-75688abf446dcbb2.js:1:109418) at iH (4bd1b696-75688abf446dcbb2.js:1:130644) at MessagePort.w (684-e6424b1559edc7ed.js:1:26075) (anonymous) @ 870-062d78834b42ed0a.js:1 o @ 870-062d78834b42ed0a.js:1 lS @ 4bd1b696-75688abf446dcbb2.js:1 ot @ 4bd1b696-75688abf446dcbb2.js:1 ov @ 4bd1b696-75688abf446dcbb2.js:1 ic @ 4bd1b696-75688abf446dcbb2.js:1 (anonymous) @ 4bd1b696-75688abf446dcbb2.js:1 is @ 4bd1b696-75688abf446dcbb2.js:1 u9 @ 4bd1b696-75688abf446dcbb2.js:1 iH @ 4bd1b696-75688abf446dcbb2.js:1 w @ 684-e6424b1559edc7ed.js:1Understand this error

API response:

{ "books": [ { "id": "KaJBDAAAQBAJ", "title": "The Thief and the Dogs", "author": "Naguib Mahfouz", "description": "Naguib Mahfouz's haunting novella of post-revolutionary Egypt combines a vivid pychological portrait of an anguished man with the suspense and rapid pace of a detective story. After four years in prison, the skilled young thief Said Mahran emerges bent on revenge. He finds a world that has changed in more ways than one. Egypt has undergone a revolution and, on a more personal level, his beloved wife and his trusted henchman, who conspired to betray him to the police, are now married to each other and are keeping his six-year-old daughter from him. But in the most bitter betrayal, his mentor, Rauf Ilwan, once a firebrand revolutionary who convinced Said that stealing from the rich in a unjust society is an act of justice, is now himself a rich man, a respected newspaper editor who wants nothing to do with the disgraced Said. As Said's wild attempts to achieve his idea of justice badly misfire, he becomes a hunted man so driven by hatred that he can only recognize too late his last chance at redemption.", "thumbnail": "https://books.google.com/books/content?id=KaJBDAAAQBAJ&printsec=frontcover&img=1&edge=curl&source=gbs_api", "isbn": "9781101974650", "publishedDate": "2016-06-15", "categories": [ "Fiction" ], "pageCount": 162, "publisher": "Anchor" }, null, { "id": "SKBBDAAAQBAJ", "title": "The Cairo Trilogy", "author": "Naguib Mahfouz", "description": "Nobel Prize-winner Naguib Mahfouz’s magnificent epic trilogy of colonial Egypt—Palace Walk, Palace of Desire, and Sugar Street—together for the first time in one beautiful hardcover volume. The masterwork of the Nobel Prize-winning author, the three novels of The Cairo Trilogy trace three generations of the family of tyrannical patriarch Al-Sayyid Ahmad Abd al-Jawad, who rules his household with a strict hand while living a secret life of self-indulgence. Palace Walk introduces us to his gentle, oppressed wife, Amina, his cloistered daughters, Aisha and Khadija, and his three sons–the tragic and idealistic Fahmy, the dissolute hedonist Yasin, and the soul-searching intellectual Kamal. Al-Sayyid Ahmad’s rebellious children struggle to move beyond his domination in Palace of Desire, as the world around them opens to the currents of modernity and political and domestic turmoil brought by the 1920s. Sugar Street brings Mahfouz’s vivid tapestry of an evolving Egypt to a dramatic climax as the aging patriarch sees one grandson become a Communist, one a Muslim fundamentalist, and one the lover of a powerful politician. Throughout the trilogy, the family’s trials mirror those of their turbulent country during the years spanning the two World Wars, as change comes to a society that has resisted it for centuries. Filled with compelling drama, earthy humor, and remarkable insight, “The Cairo Trilogy extends our knowledge of life; it also confirms it” (The Boston Globe). Everyman's Library pursues the highest production standards, printing on acid-free cream-colored paper, with full-cloth cases with two-color foil stamping, decorative endpapers, silk ribbon markers, European-style half-round spines, and a full-color illustrated jacket. Contemporary Classics include an introduction, a select bibliography, and a chronology of the author's life and times.", "thumbnail": "https://books.google.com/books/content?id=SKBBDAAAQBAJ&printsec=frontcover&img=1&edge=curl&source=gbs_api", "isbn": "9780525432029", "publishedDate": "2016-06-15", "categories": [ "Fiction" ], "pageCount": 1369, "publisher": "Everyman's Library" } ] }