ynnadkrap / balldontlie

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

Feature Request : Pull Multiple Players by Surrogate Key with Single Request #49

Open granadacoder opened 3 years ago

granadacoder commented 3 years ago

Get Players by multiple Surrogate Keys.

Currently there is a get by single surrogate key.

https://www.balldontlie.io/api/v1/players/25

Would like to see:

https://www.balldontlie.io/api/v1/players/_id=14,25,47

This would allow me to use the existing "name" search: https://www.balldontlie.io/api/v1/players?per_page=10&page=1&search=smith

then use the above...create a new call.....and get the details of N number of player with a single call.

If I were a ruby developer, I would do a Pull Request. But I am not fluent in Ruby. :(