Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The original currency conversion API data.fixer.io redirects already to apilayer.com and I couldn't find a way to create API keys for the former data.fixer.io API, so I updated the url and passing of parameters. Especially the api key is passed now as header instead as a url param what's certainly reasonable for security. apilayer blocks urllib requests as bot requests (for at least for the free account). apilayers blocks urllib requests even with different user-agents. So, the solution is to add more headers like described in https://stackoverflow.com/questions/13303449/urllib2-httperror-http-error-403-forbidden
- Loading branch information