Little Brighter Posted April 3, 2021 Posted April 3, 2021 (edited) Hello! Ever wanted to quickly convert currencies within your Alfred Window but all existing workflows lack this one or that one feature and the exotic currency you need for your next post-pandemic holiday trip is missing? That’s why we have created the Ultimate Currency Converter – first just for ourselves, but it might also be helpful for you. Get it from here: Ultimate Currency Converter – GitHub Release Page For usage information: just play around with the currency keyword or look at the README. In case you have any bug findings, any suggestions or wishes, please don’t hesitate to post here or open a GitHub issue. And if this workflow turns out to be helping you, consider to help us with our coffee bill :-) → paypal.me/n8g1 Best – Erik from Little Brighter Edited April 5, 2021 by vitor Toned down hyperbole in title milopus, Dr. Woo, JJJJ and 1 other 4
vitor Posted April 5, 2021 Posted April 5, 2021 (edited) Welcome to the forums, I have toned down the original title, as both it and the top of your post punch down on other Workflow developers who also worked hard on their converters. The Alfred forums aim to foster a respectful community where we try to support each other and have everyone’s Workflows be better. The “best” workflows are subjective. The power of Alfred lies in everyone being able to decide on their own tradeoffs. By requiring users get an API key, your Workflow is already disqualified for plenty of people. While it’s fine to ask for donations, that in conjunction with the rest of the post and title made it look like spam. We don’t know you yet and can’t even trust you’ll stick around and fix bugs in your work (almost no one makes a living on open-source donations, and none of those are making Workflows). Please get to know the community (and let us know you) before making definite claims. Edited April 5, 2021 by vitor godbout, rgrtht, Totoro and 1 other 3 1
emckillen Posted April 20, 2021 Posted April 20, 2021 Awesome! Sorry for newb question: I got the API but where do I enter it to make it work?
Little Brighter Posted April 21, 2021 Author Posted April 21, 2021 Hey, don‘t worry. Go to the Environment Variables window in the screen that you are showing. It is the first button on the top right with the Greek letter chi in square brackets. In the window that opens, add your API key for the value of the Environment Variable “lb_freecurrencyconverter_api_key” in the right half of the window. Best Erik
mlondon Posted April 23, 2022 Posted April 23, 2022 Hi, I obtained the API from https://free.currencyconverterapi.com/free-api-key I entered the API into the appropriate "VALUE" field per your instructions above. However, when I try to use the workflow, I get the following error message: Error: invalid API key given in Alfred Preferences I tried obtaining a different API using a different email address, but same problem. The debugger shows the following [08:41:41.015] Ultimate Currency Converter[Script Filter] Queuing argument '' [08:41:41.697] Ultimate Currency Converter[Script Filter] Script with argv '(null)' finished [08:41:41.700] Ultimate Currency Converter[Script Filter] {"items": [{"title":"Error: invalid API key given in Alfred Preferences","subtitle":"Hint: please edit Workflow Environment Variables in Alfred Preferences.","valid":false,"icon":{"path":"icon-error.png"},"arg":"--get-api-key"}]} Workflow Version v1.12.2 PHP Version 8.1.4 Alfred Version 4.6.4 macOS Version 12.3.1 Please advise.
Little Brighter Posted April 23, 2022 Author Posted April 23, 2022 Hello mlondon, I'm really sorry that you run into so many issues with UCC (rf. github) You did not do anything wrong, I think. The free API seems to be down, please see here https://www.currencyconverterapi.com/server-status This also happened once last year. Fingers crossed, they revert to operation soon. Hint, we are not connected to this API ... just using them (I will close GitHub issue, as you seem to have successfully installed PHP). Best
mlondon Posted April 23, 2022 Posted April 23, 2022 Thank you. Yes, the server is down. Can I use your workflow with a different API? For example: https://exchangeratesapi.io
Little Brighter Posted April 23, 2022 Author Posted April 23, 2022 Not at the moment. I will look into that later this weekend. Do you have any experience with the API you mentioned? As I said, last your, the currencyconverterapi.com was also down for approx 1-2 days
Little Brighter Posted April 23, 2022 Author Posted April 23, 2022 v1.12.3 has just been released – you can now also use exchangeratesapi.io Please check for any bugs. The GitHub page has the instructions on how to switch the APIs.
jojordani Posted August 8, 2022 Posted August 8, 2022 Hello, I'm trying to use this workflow on Alfred 5 and it's not working properly. Default currency from and to command and look-up, both works fine. But the "currency" command is always defaulting to web search. When I start typing "currency" it shows the command as a result, but if I finish typing or just select the comnand, web search takes over and don't let me finish typing the number I wanna convert.
Little Brighter Posted August 9, 2022 Author Posted August 9, 2022 Hello @jojordani, in order to dig a little deeper, could you be so kind and share some details of your setup? Which macOS Version, which Alfred version, what PHP are you using (bundled Apple version or homebrew manual installation (latter case: which version), what API are you using? Please also share Alfred debug output, in Alfred 5 you can reach it by pressing CMD+D key, when you are viewing this workflow in Alfred preferences. Thanks
jojordani Posted August 9, 2022 Posted August 9, 2022 Looking at the bug report I noticed that the problem was the api key. I tried using exchangeratesapi but it was not working, apparently. I created an account at getgeoapi and used their key and now it worked flawlessly. Thank your for your help, and for this amazing workflow.
Jun Posted February 6, 2023 Posted February 6, 2023 I'm using a workflow in Alfred5 and it doesn't work out right. I installed and use v 1.13.1 for the version. I would appreciate it if you could help me get the workflow right. The API key comes from currency.getgeoapi.com. Quote [14:06:35.753] Ultimate Currency Converter[Script Filter] Queuing argument '' [14:06:35.859] Ultimate Currency Converter[Script Filter] Script with argv '(null)' finished [14:06:41.634] Ultimate Currency Converter[Script Filter] Queuing argument '2' [14:06:41.751] Ultimate Currency Converter[Script Filter] Queuing argument '20' [14:06:41.760] Ultimate Currency Converter[Script Filter] Script with argv '(null)' finished [14:06:41.761] Ultimate Currency Converter[Script Filter] Script with argv '(null)' finished
Little Brighter Posted February 6, 2023 Author Posted February 6, 2023 Hello Jun, could it be that there is one character missing in your API key? Like: i suspect there is one additional character after the c → maybe you need to scroll in the text box of the getgeoapi.com website? It should be 40 hex characters. Let me know if this solves your problem Best
Jun Posted February 7, 2023 Posted February 7, 2023 Hello! The API on getgeoapi.com is 40 characters in total and there was no mistake. The same 40 characters were all entered in the workflow settings. But it still doesn't work. If you need any other information, please let me know.
Little Brighter Posted February 7, 2023 Author Posted February 7, 2023 Your screenshot above only shows 39 digits. You can also DM your key to me and I can check on my machine, if you want. Please show your full debugging log from Alfred settings window
Jun Posted February 7, 2023 Posted February 7, 2023 When I checked it in my environment, the API key was 40 characters long, but it did not execute properly. I just sent you the API key and the web information I got in the DM. I would appreciate it if you could confirm it. Thank you for your cooperation.
dustonio Posted March 26, 2023 Posted March 26, 2023 I'm experiencing the exact same thing as @Jun while using https://getgeoapi.com/account/ Here is my debug info: [21:27:01.317] Ultimate Currency Converter[Script Filter] Queuing argument '' [21:27:01.396] Ultimate Currency Converter[Script Filter] Script with argv '(null)' finished [21:32:14.019] Logging Started... [21:32:36.975] Ultimate Currency Converter[Script Filter] Queuing argument '' [21:32:36.988] Ultimate Currency Converter[Script Filter] Script with argv '(null)' finished On 2/6/2023 at 7:11 AM, Jun said: I'm using a workflow in Alfred5 and it doesn't work out right. I installed and use v 1.13.1 for the version. I would appreciate it if you could help me get the workflow right. The API key comes from currency.getgeoapi.com.
Little Brighter Posted March 30, 2023 Author Posted March 30, 2023 Hello @dustonio, please make sure, that you have a working copy of `brew` and `php` installed. Let me know if this is the case with your machine. You can easily check by just typing the commands with parameter -v in Terminal.app, like this brew -v php -v The result should look sth. like this $ brew -v Homebrew 4.0.10 Homebrew/homebrew-core (git revision ba46dc017be; last commit 2023-02-18) Homebrew/homebrew-cask (git revision e863415fda; last commit 2023-02-18) $ php -v PHP 8.1.17 (cli) (built: Mar 16 2023 13:07:08) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.17, Copyright (c) Zend Technologies with Zend OPcache v8.1.17, Copyright (c), by Zend Technologies
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now