"Requester" has the meaning your looking for.
Do note though that this is a word that most native English speakers would never use as we would instead say the likes of "The person requesting the books".
However, the word is easy for English speakers to understand and if you want a variable in your code to refer to such a person then "Requester" is the word to use in my opinion.