get_books api call infr.