ynnadkrap / balldontlie

NBA API
http://www.balldontlie.io
223 stars 19 forks source link

Player History #30

Open coderkrishna92 opened 4 years ago

coderkrishna92 commented 4 years ago

I know that there has been an issue that was addressing the wrong players on the wrong teams. However, is there a way that when you search a player by their name (i.e. ?search=carmelo) that not only would you get the players that have the name of carmelo as either first or last, but you can also get a list of teams they have been a part of? I'm just curious.

Also, is there a way you can get the player's rating in games like NBA 2K20?

Would be interested to know if that's possible - btw great API and stellar docs as well @ynnadkrap

ynnadkrap commented 4 years ago

that's an interesting idea. it's possible, but i would probably create a separate endpoint for it api/v1/player/:player_id/teams. i don't have time to work on this in the foreseeable future but someone else could open up a PR for it 😄