So, when i'll pass the request limit, is it safe to do something like this (asp.net)? I have a 9 movies per page.
string requestStringUA = "https://api.themoviedb.org/3/search/movie?page=1&query=jaws&api_key=key";
var clientUA = new RestClient(requestStringUA);
var request = new RestRequest(Method.GET);
request.AddParameter("undefined", "{}", ParameterType.RequestBody);
var json = JObject.Parse(clientUA.Execute(request).Content);
while(json["total_results"] == null)
json = JObject.Parse(clientUA.Execute(request).Content);
I'm ask about this "while" at the end... Please, dont judge me
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?