ckanapi
ckanapi copied to clipboard
Make API key header configurable
Setting the API key header name to X-CKAN-API-Key seems problematic. For example, the data.gov API uses the x-api-key as the HTTP header name.
This PR allows users to pass a dictionary instead of just an API key, specifying both the API key and the header name.