How Client, Search, and Result work together
masterThe library follows a three-part pattern:
Client: The engine. It manages connection pooling, rate limiting (viadelay_seconds), and pagination logic. You should create one client and reuse it for multiple searches.Search: The query definition. It encapsulates what you are looking for (keywords, IDs, sort order) without actually performing the network request.Result: The data. These are the objects yielded by the client's generator. They contain metadata (title, authors, etc.) and URLs for downloading the paper content.