Open Avasam opened 3 years ago
http://pretty-rfc.herokuapp.com/RFC3986#reserved ?embed=level,game.levels,game.variables and ?embed=level&embed=game.levels&embed=game.variables should be equivalent. (right now the second form won't work).
?embed=level,game.levels,game.variables
?embed=level&embed=game.levels&embed=game.variables
As an example, using requests in Python,
requests
session.get("https://www.speedrun.com/api/v1/runs", params={"embed": ["level", "game.levels", "game.variables"]})
becomes https://www.speedrun.com/api/v1/runs?embed=level&embed=game.levels&embed=game.variables.
https://www.speedrun.com/api/v1/runs?embed=level&embed=game.levels&embed=game.variables
http://pretty-rfc.herokuapp.com/RFC3986#reserved
?embed=level,game.levels,game.variables
and?embed=level&embed=game.levels&embed=game.variables
should be equivalent. (right now the second form won't work).As an example, using
requests
in Python,becomes
https://www.speedrun.com/api/v1/runs?embed=level&embed=game.levels&embed=game.variables
.