Trying to get the data from ESPN using curl. Need it to be with offset which as I know is specified as a parameter. Here is the call I use that has been generated by ESPN explorer tool:
http://api.espn.com/v1/sports/basketball/nba/athletes/?offset=51&apikey=
This does not work for me in the terminal or in PHP and throws an error with code 403 but it works in the espn explorer tool.
Another observation is that if I remove the offset parameter and attempt a curl call then it works in terminal and in PHP. Below is the example of working call:
http://api.espn.com/v1/sports/basketball/nba/athletes/?apikey=
Has anyone came across this issue?