-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changed to use new fixer.io api (old one was deprecated) #4
Conversation
…ssary api key from config
Hi @tannercorbin, thanks for your contribution! In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. |
You did it @tannercorbin! Thank you for signing the Singer Contribution License Agreement. |
Thanks for contributing, @tannercorbin! @dmosorast Had actually taken a shot at this exact same patch a few weeks ago and was unable to get past a few API issues. Maybe they've gone away now? Here was his attempt. Can you provide logs that show this working? A gist would work. |
To elaborate a bit, I ran into the first Looking at the new APIs error listing along with the base curency issue not listed in that page, it looked like it would be much more complicated than I originally anticipated, so I switched to exchangeratesapi.io, which is feature compatible with Fixer's old API. |
Thanks guys. @dmosorast - I noticed the same thing with the base currency issue, but didn't even consider handling the other API error. Your code works as long as you have EUR base currency or use a paid account api key. Again, this was my first time to try to contribute to a project so I learned a lot. How could I have known that @dmosorast already took a shot at this to avoid retracing his work? Any advice would be greatly appreciated. Thanks! |
@tannercorbin This is looking good! Can you update the README with setup instructions. Where do I go to get a Fixer.io API key? Tell me about the Also, please get a Regarding finding @dmosorast's work, honestly there's no great way to do it. One thing you can usually try is to use the Another thing you can try is to submit an Issue before you work on the code. The maintainers of the project are often more aware of significant work being done on the project than you could possibly be, especially in the case of high-volume contribution projects. So making your first action nice and cheap ("Hey, I'm interested in fixing X, is anyone else already working on that?") can free you up or get you pointed in the right direction. |
Fixes #3 |
@tannercorbin If you're looking for further opportunities to contribute, the changes you're making here would flow very nicely into singer-io/target-gsheet#6 and singer-io/singer-tap-template#3. This would be more involved but since you're fixing Fixer.io anyway you may feel like taking a shot at it. :) singer-io/target-gsheet#1 |
We're going to close this issue. Feel free to reopen if you make the suggested changes. |
Hey all, this is the first time I've ever contributed or done a pull request so please let me know if I missed anything or didn't follow standards.
The master branch was using a deprecated API from fixer.io and therefore not working. I updated the code to use the api, but it now requires an api-key. So I made it so we grab an api key from the config file.