The Movie Database 支持

creating movie app but it is not displaying API data on the main page. it's showing in the console but not on the main page.

can anyone help? I can send you a link to the files.

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

Jump to last post

Hi @jeffeyblade,

You probably won't get much help here for programming questions. I would suggest using something like Stack Overflow for these kinds of issues.

If you have a specific TMDb implementation issue than I am happy to help.

I can check your code if you upload your code to github.

Got the problem sorted guys :)

another issue I want to filter films by a good ratings

looking on the API documentation but can't find anything

Discover is what you're looking for. More than 26 options to filter data by. ok_hand

Cheers Travis.

For some reason I can't get my API to work, really strange.

Here is how it looks, I've got it randomising a film now but still picking up gibberish stuff

var movieUrl = 'https://api.themoviedb.org/3/movie/',
    apiKey = 'api_key=###&include_adult=false&language=en-US&region=GB';

Don't know if I could help anywhere do you?

Thanks

Hi Jeffey,

I wouldn't post a API key ;)

For filtering use the discover function:

https://api.themoviedb.org/3/discover/movie

I recommend you to be more familiar with REST and Java/Kotlin. Here is an example TMDb project: https://github.com/UweTrottmann/tmdb-java

(I removed the API key)

@chrisbln said:

I can check your code if you upload your code to github.

Hi Chris,

I don't know Java at all. I have uploaded my app on to GitHub.

if you could, can you look at my IndexAPI.js file, this is where the issue is, I have played around with it but it seems it won't work :(

Thanks

https://github.com/TJeffcock2608/movieApp-/blob/master/IndexAPI.js

Hi Jeffey,

I can only help you with Android/Java/Kotlin but not with JavaScript. :(

The best is to lookup some tutorials / samples.

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

全站通用

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

在媒体页面

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

在电视季页面

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

在电视集页面

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

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

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

在讨论页面

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

设置

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

登录

还不是会员?

注册加入社区