I'm wanting to start diving into some API's that this site uses. http://api.champion.gg/
However, I'm having some trouble understanding on how to grab specific data. For example, one of the API url's returns this data.
    [
  {
    "games": 1650,
    "winPercent": 46.9,
    "order": [
      "Q",
      "W",
      "E",
      "Q",
      "Q",
      "R",
      "Q",
      "W",
      "Q",
      "W",
      "R",
      "W",
      "W",
      "E",
      "E",
      "R",
      "E",
      "E"
    ],
    "role": "Support"
  },
  {
    "games": 9769,
    "winPercent": 51.8,
    "order": [
      "Q",
      "W",
      "E",
      "Q",
      "Q",
      "R",
      "Q",
      "W",
      "Q",
      "W",
      "R",
      "W",
      "W",
      "E",
      "E",
      "R",
      "E",
      "E"
    ],
    "role": "Middle"
  }
]
And id like to grab
- games
- winPercent
- order (I understand this this is an array?)
Could I generate a JSON Class using a JSON Class Generator? Would that work? And if so how would I use it.
Edit: I generated the class..
So my class looks like
`Public Class Class1
    Public Property games As Integer
    Public Property winPercent As Single
    Public Property order() As String
    Public Property role As String
End Class`
Would I be able to do?
`        Dim obj = JsonConvert.DeserializeObject(Of Class1)(RichTextBox1.Text)
        MsgBox(obj.games)`
 
    