I am trying to get the data of all items of runescape in the grand exchange using its API's http://services.runescape.com/m=itemdb_rs/api/catalogue/category.json?category=X and http://services.runescape.com/m=itemdb_rs/api/catalogue/items.json?category=X&alpha=Y&page=Z I could get the json text in the web browser itself like this:
Sub High_Alch()
Dim IE As New InternetExplorer
Dim url As String
Dim url1 As String
Dim url2 As String
Dim url3 As String
url = "services.runescape.com/m=itemdb_rs/api/catalogue/category.json?category="
IE.Visible = True
For i = 0 To 37
IE.navigate (url + CStr(i))
Next i
End Sub
How do i get this to a string in vba and how can i use the data? I wanted to use the categories API to know how much items there are for each letter in each category and then use that to know how many page there are in the item API. Can someone help me?