Main API struct. API holds your key you acquire from CORE.
Lastly it holds a refernce to a blocking Client it uses to execute queries to the CORE API.
The Api struct provides a set of methods to interact with a specific API service.
It includes methods to search for works, data providers, journals, and outputs based on various queries.
The struct uses an API key and an HTTP client for requests, and optionally logs the request target and raw response.