dota2compose
dota2compose copied to clipboard
Create playerByID method
We should create a playerByID method inside the PlayersRepository which will have a method to get a player by its id.
This repository should:
- [ ] Have a method named
playerByID()which makes an API call to this endpoint. - [ ] This method should return a a player if it has been found, otherwise null.
Docs: https://docs.opendota.com/#tag/players%2Fpaths%2F~1players~1%7Baccount_id%7D%2Fget
can you assign this to me?
can you assign this to me?
Done, let me know if you have any problems!