-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetTrendingMoviesAsync() calling a non-working URL #424
Comments
same here! |
Is this on .NET core or Framework?
|
.NET6 |
|
It is also a good practice to keep everything lowercase while they are in a URL. |
Sure - and it is. In this library, all enum values follow C#'s Camel Case standard, so it's I'm not sure why you're getting If
The code for |
Thank you for explanation.
Output:
|
thanks for fixing the bug... |
When I simply call the following method:
client.GetTrendingMoviesAsync(TMDbLib.Objects.Trending.TimeWindow.Day)
It makes a call to:
https://api.themoviedb.org/3/trending/movie/Day?api_key={MYAPIKEY}
It returns the following error:
{"success":false,"status_code":5,"status_message":"Invalid parameters: Your request parameters are incorrect."}
After playing around with it, it looks like the issue is with the capital "D" in the word "Day". If I make a call to the same URL, but with a lowercase "d", everything works correctly.
https://api.themoviedb.org/3/trending/movie/day?api_key={MYAPIKEY}
Is there anything I can do to force a lowercase "d"? Or does this need to be resolved via a bugfix?
The text was updated successfully, but these errors were encountered: