Hi. Very interesting, thanks. One suggestion for next videos, if possible... Could you activate the auto translation option of audio tracks, for non English viewers? It's a little hard to keep concentration for an hour... Regards.
@AccessUserGroups Thanks, I know It. But I mean the audio track auto translation. Only the video publisher can activate this feature. And it's better to follow the video and read the code, or focus on other points in the screen. However, thanks for your answer.
I don't see George talking about Postman until about 1:01:33 but what you would do is use its UI to choose GET or whatever other method, put in the URL that is your BaseURL plus your Resource, manually add the Parameters that you are adding as AddQueryStringParam and then Send. You can actually also add in your Body on that tab, if it is JSON choose Raw and copy in the Body. The nice thing about it is that it is easier to tweak particularly when you are getting bad response error codes, until you have the request correct, then you just need to make sure your code makes the same thing happen
Found the answer at 42:15; it's a building block of the URL that GetWeatherFromApi builds by itself but where can I find a description of how GetWeatherFromApi works?
Ciao, Giorgio. You initially need to return the data from the function, so "root" is just the object to hold the data returned from the web api. Then, you can create variables that point to deeper nodes within that data. "current_weather" is that name of that node off of the root. The syntax of root("node_name") is what's used for dictionary objects.
@@georgeyoung4089 I'm still at a loss as to how you know all this: who told you or where did you get that Dictionary has to be set = to GetWeatherFromApi(city!latitude, city!longitude) or alternately set = to WebResponse.Data()? Happy new year!🪄
@@giorgiorovelli1542 Hi, Giorgio. Sorry, I'm not totally understanding the question. If you go to the DAAUG video linked in this video's description section, there is more detail on returning data from the functions.
thanks
great
Very interesting and perfect timing for a project I'm looking at.
Hi.
Very interesting, thanks.
One suggestion for next videos, if possible... Could you activate the auto translation option of audio tracks, for non English viewers?
It's a little hard to keep concentration for an hour...
Regards.
please click the Settings cog below the video -- then Subtitles/CC, Auto-translate, then choose the language you want
@AccessUserGroups
Thanks, I know It.
But I mean the audio track auto translation. Only the video publisher can activate this feature. And it's better to follow the video and read the code, or focus on other points in the screen.
However, thanks for your answer.
mrbakr from egypt
How do you go about using Postman to validate your calls as mentioned at 33:33 in the video?
I don't see George talking about Postman until about 1:01:33 but what you would do is use its UI to choose GET or whatever other method, put in the URL that is your BaseURL plus your Resource, manually add the Parameters that you are adding as AddQueryStringParam and then Send. You can actually also add in your Body on that tab, if it is JSON choose Raw and copy in the Body. The nice thing about it is that it is easier to tweak particularly when you are getting bad response error codes, until you have the request correct, then you just need to make sure your code makes the same thing happen
Giorgio, I also use Postman extensively in the DAAUG video, linked above in this video's description section.
At 37:00 WebRequest.Resource = "forecast"; where is "forecast" set?
Found the answer at 42:15; it's a building block of the URL that GetWeatherFromApi builds by itself but where can I find a description of how GetWeatherFromApi works?
How do you know you can set root=webResponse.Data() or weather = root("current_weather")? Where do you learn that?
Ciao, Giorgio. You initially need to return the data from the function, so "root" is just the object to hold the data returned from the web api. Then, you can create variables that point to deeper nodes within that data. "current_weather" is that name of that node off of the root. The syntax of root("node_name") is what's used for dictionary objects.
@@georgeyoung4089 I'm still at a loss as to how you know all this: who told you or where did you get that Dictionary has to be set = to GetWeatherFromApi(city!latitude, city!longitude) or alternately set = to WebResponse.Data()? Happy new year!🪄
@@giorgiorovelli1542 Hi, Giorgio. Sorry, I'm not totally understanding the question. If you go to the DAAUG video linked in this video's description section, there is more detail on returning data from the functions.