pokeapi icon indicating copy to clipboard operation
pokeapi copied to clipboard

Missing Array length

Open bidery opened this issue 4 years ago • 2 comments

Hey,

I worked in C# with this API and it was verry cool. But i missed something.

It would be realy nice to have a field, wich shows the length of the following Array.

For example like this:

"types_length": 2,
 "types": [
    {
      "slot": 1,
      "type": {
        "name": "grass",
        "url": "https://pokeapi.co/api/v2/type/12/"
      }
    },
    {
      "slot": 2,
      "type": {
        "name": "poison",
        "url": "https://pokeapi.co/api/v2/type/4/"
      }
    }
  ]

bidery avatar Jul 18 '22 06:07 bidery

Ey @bidery i suppose that you figured it out by now but you can know the lenght of an array in your favourite language.

Array Size (Length) in C#

diekotto avatar Oct 26 '22 13:10 diekotto

yes I noticed, but thank you

bidery avatar Oct 26 '22 13:10 bidery