Hi all, i have a question for my app.
-1 I want to do a search bar where the user insert a letter or a word and it show all film with this word or letter. Is it possibile with any function?
2 I want to do my app separete in two section. film and series tv sections. It's possible see in one activity the most viewed film and in other activity the most viewed series tv?
Thanks all
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 26 oktober 2018 vid 6:23 PM
Sure, you can use the /search methods.
What do you mean by "most viewed"? What are you trying to accomplish here exactly?
Svar från paloppa
den 27 oktober 2018 vid 5:38 AM
It's mean popular film in the cinema. i have a list of the film. Is it possibile have a list of series TV? obviously this TV series in not watched in the cinema but by the people
Svar från paloppa
den 27 oktober 2018 vid 6:01 AM
and how can use this search function in my project? i'm trying to do an app in c# with xamarin in visual studio. Is there a guide that i can follow for do this?
Svar från Travis Bell
den 27 oktober 2018 vid 11:41 AM
I'm not 100% clear what you're looking for but you can use any one of the following methods that might get you what you want:
I am not able to provide support for any coding specific issues. There's 3 decent API libraries for C# that I'm aware of:
Which you could use or, you might have to ask your question over at a place like Stack Overflow.
Svar från paloppa
den 30 oktober 2018 vid 6:52 AM
Thanks for your answers. I have another question: there is a query ,like search film query, for the TV series? i want to do the same search for the film, with the tv series
Svar från Travis Bell
den 30 oktober 2018 vid 10:07 AM
Yes, /search/tv.
If you are wanting to search more than one media at a time, look at /search/multi.
Svar från paloppa
den 2 november 2018 vid 7:03 AM
Thanks a lot.
I have another question.
When i show all the title, and the user click in one of the title, i want start a new activity where it shows all the film details.
How can i do this? have i do an another json call with the search function with the title, or is there a method that i can know the id of the item clicked and do the query with this id?
Svar från Travis Bell
den 6 november 2018 vid 3:42 PM
The general workflow you're describing is outlined here.
Svar från paloppa
den 7 november 2018 vid 6:15 AM
is it possibile find a search by id for the tv series?? if yes how? i don't find the query
Svar från Travis Bell
den 9 november 2018 vid 10:13 AM
Sure:
Svar från paloppa
den 14 januari 2019 vid 5:17 AM
Thank you man for the answer, thanks a lot!!