Activity
Since the books aren't in your database, you'll want to find a way to uniquely identify them, and store entries in your database that correlate to them. Maybe you have a table of Favorites, each row has a user_id, and a book_id that matches the unique id that the API returns. Then you can check this table when displaying them. You could do the same thing for Votes.