AL: Using Web APIs in Access by George Young

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025

Комментарии • 16

  • @dbdata9836
    @dbdata9836 Месяц назад +2

    thanks

  • @dbdata9836
    @dbdata9836 Месяц назад +2

    great

  • @peterhamer504
    @peterhamer504 Месяц назад +2

    Very interesting and perfect timing for a project I'm looking at.

  • @Javier-IXOS
    @Javier-IXOS Месяц назад +1

    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
      @AccessUserGroups  Месяц назад +1

      please click the Settings cog below the video -- then Subtitles/CC, Auto-translate, then choose the language you want

    • @Javier-IXOS
      @Javier-IXOS Месяц назад +1

      @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.

  • @dbdata9836
    @dbdata9836 Месяц назад +1

    mrbakr from egypt

  • @giorgiorovelli1542
    @giorgiorovelli1542 Месяц назад +1

    How do you go about using Postman to validate your calls as mentioned at 33:33 in the video?

    • @mariabarnes6376
      @mariabarnes6376 Месяц назад +1

      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

    • @georgeyoung4089
      @georgeyoung4089 Месяц назад +2

      Giorgio, I also use Postman extensively in the DAAUG video, linked above in this video's description section.

  • @giorgiorovelli1542
    @giorgiorovelli1542 Месяц назад +1

    At 37:00 WebRequest.Resource = "forecast"; where is "forecast" set?

    • @giorgiorovelli1542
      @giorgiorovelli1542 Месяц назад +1

      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?

  • @giorgiorovelli1542
    @giorgiorovelli1542 Месяц назад +1

    How do you know you can set root=webResponse.Data() or weather = root("current_weather")? Where do you learn that?

    • @georgeyoung4089
      @georgeyoung4089 Месяц назад +1

      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.

    • @giorgiorovelli1542
      @giorgiorovelli1542 Месяц назад +1

      @@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!🪄

    • @georgeyoung4089
      @georgeyoung4089 Месяц назад +1

      @@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.