dota2compose icon indicating copy to clipboard operation
dota2compose copied to clipboard

Create playerByID method

Open ilkeraslan opened this issue 3 years ago • 2 comments

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

ilkeraslan avatar Oct 14 '22 07:10 ilkeraslan

can you assign this to me?

ahmetkca avatar Oct 14 '22 17:10 ahmetkca

can you assign this to me?

Done, let me know if you have any problems!

ilkeraslan avatar Oct 15 '22 11:10 ilkeraslan