2
Gentlemen all good?
Someone has a movie API that returns json if possible with the movie photo?
I’m doing some examples of app with Xamarin but the api it uses in the example n works more..
2
Gentlemen all good?
Someone has a movie API that returns json if possible with the movie photo?
I’m doing some examples of app with Xamarin but the api it uses in the example n works more..
5
There is the The Open Movie Database, is a Restful service that returns movie data from different sources, to make a data query can use so:
http://www.omdbapi.com/?t=The+Prestige&apikey=<sua chave de acesso>
That will return something like:
{
"Title": "The Prestige",
"Year": "2006",
"Rated": "PG-13",
"Released": "20 Oct 2006",
"Runtime": "130 min",
"Genre": "Drama, Mystery, Sci-Fi",
"Director": "Christopher Nolan",
"Writer": "Jonathan Nolan (screenplay), Christopher Nolan (screenplay), Christopher Priest (novel)",
"Actors": "Hugh Jackman, Christian Bale, Michael Caine, Piper Perabo",
"Plot": "After a tragic accident two stage magicians engage in a battle to create the ultimate illusion whilst sacrificing everything they have to outwit the other.",
"Language": "English",
"Country": "USA, UK",
"Awards": "Nominated for 2 Oscars. Another 5 wins & 36 nominations.",
"Poster": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjA4NDI0MTIxNF5BMl5BanBnXkFtZTYwNTM0MzY2._V1_SX300.jpg",
"Ratings": [
{
"Source": "Internet Movie Database",
"Value": "8.5/10"
},
{
"Source": "Rotten Tomatoes",
"Value": "75%"
},
{
"Source": "Metacritic",
"Value": "66/100"
}
],
"Metascore": "66",
"imdbRating": "8.5",
"imdbVotes": "951,885",
"imdbID": "tt0482571",
"Type": "movie",
"DVD": "20 Feb 2007",
"BoxOffice": "$53,100,000",
"Production": "Buena Vista Pictures",
"Website": "http://touchstone.movies.go.com/index.html?dlink=prestige",
"Response": "True"
}
Then you can take the key Poster
that in the above example will return something like https://images-na.ssl-images-amazon.com/images/M/MV5BMjA4NDI0MTIxNF5BMl5BanBnXkFtZTYwNTM0MzY2._V1_SX300.jpg
However it is possible to get directly through the URL like this:
http://img.omdbapi.com/?apikey=<sua chave de acesso>&...parametros_adicionais
Browser other questions tagged c# api xamarin-forms
You are not signed in. Login or sign up in order to post.