How To Call REST API From Excel VBA And Parse JSON

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 33

  • @Amarindaz
    @Amarindaz  3 ปีที่แล้ว +1

    Download Excel Macro 👉 https: //gum.co/rest-api-excel-vba (Use code RESTAPI and get it for FREE**)
    JSON Converter 👉 github.com/VBA-tools/VBA-JSON

    **To appreciate my subscribers who turned on 🔔, FREE downloads will be applicable only to the first 50 viewers/downloads after that $0.99.Please subscribe and turn on 🔔 to get my future products for FREE.

  • @mikem8915
    @mikem8915 ปีที่แล้ว +1

    Nice job sticking to the very minimum steps needed. Keep up the good work.

  • @adamr2133
    @adamr2133 ปีที่แล้ว +1

    Excellent! Thank you. I’d like to try for a personal project!

  • @jimgripp7267
    @jimgripp7267 ปีที่แล้ว

    Great video to explain REST API call, response handling and JSON parsing. I was able to understand and apply the principles to my VBA code.

  • @yumefke
    @yumefke 9 หลายเดือนก่อน +1

    Great, I have an issue when dealing with special UTF-8 characters. Is there any way to handle characters like Chinese, Vietnamese, and Japanese?

  • @caulacau2318
    @caulacau2318 3 ปีที่แล้ว +2

    Great video!
    A quick question if I can: Is it possible to parse the contents of the return to a two dimensional array - columns and rows?
    Thanks
    Caula

  • @rinkeshverma2880
    @rinkeshverma2880 7 หลายเดือนก่อน +1

    Never knew we could call API in vba

  • @kavyaseeramsetty4817
    @kavyaseeramsetty4817 3 ปีที่แล้ว +1

    Great Video! Thanks for Sharing!

  • @kcerny43
    @kcerny43 8 หลายเดือนก่อน

    Great! I'd like to know how to capture a respose via XML object.

  • @tarunprakashsingh
    @tarunprakashsingh 2 ปีที่แล้ว +2

    how to parse complex nested JSON in vba without knowing nodes and items. is there a way to parse key/value pairs?

  • @enableDeepak
    @enableDeepak 2 ปีที่แล้ว

    Nice tutorial. How to write the parsed JSON properties to the an existing Excel with known columns-json properties mapping ?

  • @raidenc9846
    @raidenc9846 3 ปีที่แล้ว

    I love your tutorial, it's very helpful to me.

  • @musttry9662
    @musttry9662 2 ปีที่แล้ว

    Sir do you have any idea about the google drive api? How to use it to perhaps add files in the drive using vba code?

  • @mattnampel5556
    @mattnampel5556 3 ปีที่แล้ว +1

    Hi, this is a great video. Do you have an example where you have to pass an API key along as well?

    • @mattnampel5556
      @mattnampel5556 3 ปีที่แล้ว +1

      I mean I would buy a VBA script like that.

    • @edb2483
      @edb2483 2 ปีที่แล้ว

      Use the MSXML2.XMLHTTP.setRequestHeader to pass the API key you need
      In the case of a Bearer Token you may have received by calling an OAuth endpoint earlier it would look similar to:
      MSXML2.XMLHTTP.setRequestHeader "Authorization": "Bearer suPerS$CR$TT0ken"

  • @MakeItHappenWithVBA
    @MakeItHappenWithVBA 2 ปีที่แล้ว

    Sir can I ask somthing. Can vba connect to google sheet API using this method? Thank you.

  • @negociosonline40
    @negociosonline40 3 ปีที่แล้ว

    FAZ UM TOTURIAL PARA ACESSAR A API DA BINANCE PARA ABRIR OPERAÇÕES PELO EXCEL

  • @Justin10980
    @Justin10980 2 ปีที่แล้ว

    very helpful

  • @enesnature5486
    @enesnature5486 3 ปีที่แล้ว +1

    awesome thanks

  • @MaximumSilly
    @MaximumSilly 3 ปีที่แล้ว

    I imported your JsonConverter module but when I compile it states - "Invalid use of New Keyword" this is in the Function = json_ParseObject - The line the error is happening is = Set json_ParseObject = New Dictionary - please advise

  • @sarnathk1946
    @sarnathk1946 2 ปีที่แล้ว +1

    MS Scripting runtime (for dictionary) is not available for MAC... Only for windows... Ding!

    • @dawud20886
      @dawud20886 ปีที่แล้ว

      any work around that you found?

    • @sarnathk1946
      @sarnathk1946 ปีที่แล้ว

      @@dawud20886 . I think someone wrote a VB class that simulates a dictionary... We can use that

  • @charanchitu
    @charanchitu 3 ปีที่แล้ว

    Need to collect jira issues/Bugs with VBA and paste in a excel sheet? can we do it?

    • @andreww5610
      @andreww5610 3 ปีที่แล้ว

      There is a Jira/excel plugin

  • @hemant0088
    @hemant0088 2 ปีที่แล้ว

    How to set API key and get data?

  • @cryptostar1427
    @cryptostar1427 3 ปีที่แล้ว

    Hello, it seems the code you typed RESTAPI has expired

  • @makaniharesh1459
    @makaniharesh1459 3 ปีที่แล้ว

    Sir will u help me to autofill I'd and password in gst login portal using vba excel...
    I m accountant
    Will u plz

  • @soylalbayiniz5154
    @soylalbayiniz5154 ปีที่แล้ว

    Set json = JsonConverter.ParseJson(strResponce)
    Debug.Print json("viewCount") I am getting error in this section

  • @negociosonline40
    @negociosonline40 3 ปีที่แล้ว

    Ative a legenda para português

  • @andreiturcan9692
    @andreiturcan9692 ปีที่แล้ว +2

    Hi, and how do access data inside a subframe current? i can get lat, lon values, but current has it's own items (dt)?
    {"lat":xx,"lon":xx,"current":{"dt":1671263568}}

  • @negociosonline40
    @negociosonline40 3 ปีที่แล้ว

    FAZ UM TUTORIAL PARA ACESSAR A API DA BINANCE PARA ABRIR OPERAÇÕES PELO EXCEL