The Movie Database 支持

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

11 回复(第 1 页,共 1 页)

Jump to last post

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?

Sure, you can use the /search methods.

https://api.themoviedb.org/3/search/movie?api_key=###&query=inception

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?

What do you mean by "most viewed"? What are you trying to accomplish here exactly?

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

@travisbell said:

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?

Sure, you can use the /search methods.

https://api.themoviedb.org/3/search/movie?api_key=###&query=inception

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?

What do you mean by "most viewed"? What are you trying to accomplish here exactly?

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?

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

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:

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?

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.

@travisbell said:

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

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:

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?

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.

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

Yes, /search/tv.

If you are wanting to search more than one media at a time, look at /search/multi.

@travisbell said:

Yes, /search/tv.

If you are wanting to search more than one media at a time, look at /search/multi.

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?

The general workflow you're describing is outlined here.

is it possibile find a search by id for the tv series?? if yes how? i don't find the query

@travisbell said:

Sure:

Thank you man for the answer, thanks a lot!!

找不到电影或剧集?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)前一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区