GET-request: obtaining exchange rates: Difference between revisions
From Planfix
(→Go To) |
No edit summary |
||
Line 9: | Line 9: | ||
*Setting up the button: | *Setting up the button: | ||
https://s.pfx.so/pf/ | https://s.pfx.so/pf/Ov/MM5ZwS.jpg | ||
*Parsing the website's response: | *Parsing the website's response: | ||
https://s.pfx.so/pf/ | https://s.pfx.so/pf/Y1/PSdO4G.jpg | ||
Here's how the response parsing works: | Here's how the response parsing works: | ||
Line 22: | Line 22: | ||
After clicking the button in the task, you'll see the following: | After clicking the button in the task, you'll see the following: | ||
https://s.pfx.so/pf/ | https://s.pfx.so/pf/hP/Ix5TPr.gif | ||
Latest revision as of 10:23, 22 August 2024
Get exchange rates from the Open Exchange Rates website directly in Planfix using an automation scripts.To set this up, sign up on the Open Exchange Rates website, the data will be available via this link. You will need to paste your App IDs instead of YOUR_APP_ID.
- Setting up the button:
- Parsing the website's response:
Here's how the response parsing works:
- Extract the required data from the website's response and place it into info blocks.
- Add a Comment to the Current Task: This step is optional and is a control measure.
- Finally, duplicate the data from the info block into the corresponding task fields, ensuring the data can be used in further calculations.
After clicking the button in the task, you'll see the following: