Closed thomaslprr closed 3 years ago
Ok now I found that nothing is working when the category is MotoGP, do you know why ? (RidersStanding, RidersSession, etc)
Hi Thomas,
Thanks for reporting the issue. I released a new version of the API and it should now work correctly. The problem was caused by some changes in the website, more specifically in the URLs for the requests. Don't forget to leave a star if you find this repository useful!
Thanks, Best regards Parsa Dahesh
Hi Parsa,
I try to do this :
List<RiderSession> gridByRaceNumber = data.getSessionResults(Category.MotoGP, 2015, "FRA", Session.GRID);
or thisList<RiderSession> gridByRaceNumber = data.getSessionResults(Category.MotoGP, 2015, 3, Session.RACE);
but it doesn't work.I just found the origin of the problem but not the solution. The problem is there when the category is MotoGP, do you have any idea of the solution? If the category is Moto2 or Moto3 there is no problem.
The error log :
If it can be helpful I make search and find that in URLGenerator.java :
races is an empty array and the URL is https://mssproxy.motorsportstats.com/web/3.0.0/seasons/2015-motogp/races/
Thanks a lot in advance, Respectfully Thomas