XMLParseException when searching with tmdb C # api

I am trying to access movie information using the themoviedb API since imdb seems to be lost.

They use the key that I replaced *, but from what I see, there should be everything that I need for a simple search

so my code is very simple

TmdbAPI api = new TmdbAPI("***************************");
TmdbMovie[] movies = api.MovieSearch(batman);

But whenever I search, I get an XMLParseException if I don't break the second line

There is an example application, but I cannot get it to work with VS2010, and I cannot understand how it does everything differently, except that the application reads the name of the movie from the text field, since mine will be further down the road.

+3
source share
1 answer

Looking at the problem tracker , there seems to be a problem with the returned XML from December 1, 2010 (if not earlier).

+2
source

Source: https://habr.com/ru/post/1783120/


All Articles