Closed Hawk94 closed 7 years ago
Instead of this PR, would you be able export CodatApiClient
?
@Hawk94 I am inclined to agree with @christopherdcunha here. This is really a helper around interacting with the codat API and adding a proxy environment and subtly, but fundamentally, changing the meaning of the apiKey
in the base class Api
is not ideal. Exposing the actual class that does the work sounds ok though, and it's less code 😛 .
@jasond-s I agree - have amended this PR to export the CodatAPIClient, it would be great if you could review/merge 😄
Looks good. Thanks guys!
Will get that published ASAP.
Export the CodatAPIClient explicitly allowing it to be used directly.