KnutZuidema / golio

League of Legends, Legends of Runeterra and Valorant API client library for Go
MIT License
72 stars 29 forks source link

Removed non-existent fields for the summoner name. #66

Closed Nico-Mayer closed 3 months ago

Nico-Mayer commented 4 months ago

This PR removes the non-existent summoner name fields that became obsolete after updating to Spectator v5 and Summoner v4.

See the return signatures here: https://developer.riotgames.com/apis#spectator-v5

https://developer.riotgames.com/apis#summoner-v4

Nico-Mayer commented 4 months ago

Hey, @KnutZuidema. The PR failed due to linting issues, so I made an additional commit. I removed the GetSummonerByName endpoint since it's no longer functioning. Additionally, I added explicit types for all constant declarations to align with the rest of the project and eliminate compiler warnings.