If possible I'd like some assistance in trying to create a Nightbot command from codtracker API.
What I'd like to do is display the last 5 Lobby KD values and potentially use those values to create an average KD of those lobbies as well.
e.g. Last 5 Lobby KD's: 1.24 | 1.20 | 1.23 | 1.36 | 1.13. Average Lobby KD: 1.23
^ obviously the above values are just examples taken from the codtracker I'm trying to use, but that's how I'd want it to look. I have created an API command previously with help from several threads but this one I can't quite figure out myself and I couldn't find any other threads that were close enough to what I'm looking for.
codtracker: https://cod.tracker.gg/warzone/profile/atvi/angell%234177009/matches
API: https://api.tracker.gg/api/v2/warzone/matches/atvi/angell%234177009
Thank you in advance for any help!