Hello friends:wave:
I had a question about contacting the api :
Connect via winhtt 5.1
I set up a connection and receive information from the web, but all at once I want to see if there is a way to receive the data separately!?
![Name: Untitled.png
Views: 3
Size: 13.0 KB]()
As you can see in the picture, all the data is in one text box. Is it possible to put each data in a separate text box?
for example:
Text1.text=symbol
Text2.text=name
I had a question about contacting the api :
Connect via winhtt 5.1
I set up a connection and receive information from the web, but all at once I want to see if there is a way to receive the data separately!?
HTML Code:
Option Explicit
Private Sub GET_Click()
Dim httpURL As Object
Dim Mojtaba As String
Dim Texto As String
Set httpURL = CreateObject("WinHttp.WinHttpRequest.5.1")
Set httpURL = New WinHttp.WinHttpRequest
Mojtaba = "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=1&page=1"
httpURL.Open "GET", Mojtaba
httpURL.Send
Text1 = httpURL.ResponseText
End Sub
As you can see in the picture, all the data is in one text box. Is it possible to put each data in a separate text box?
for example:
Text1.text=symbol
Text2.text=name