Poland has 16 "states" (voivodeships, województw) while csc.getStateOfCountry('PL') returns 17, because there is one unwanted entry:
{
"name": "Kielce",
"isoCode": "KI",
"countryCode": "PL",
"latitude": "50.86607730",
"longitude": "20.62856760"
},
Kielce is a Polish capital city of Świętokrzyskie Voivodeship, not separate state.
https://en.wikipedia.org/wiki/Administrative_divisions_of_Poland
Poland has 16 "states" (voivodeships, województw) while
csc.getStateOfCountry('PL')returns 17, because there is one unwanted entry:{ "name": "Kielce", "isoCode": "KI", "countryCode": "PL", "latitude": "50.86607730", "longitude": "20.62856760" },Kielce is a Polish capital city of Świętokrzyskie Voivodeship, not separate state.
https://en.wikipedia.org/wiki/Administrative_divisions_of_Poland