DOWNLOAD TMDB Top 20 Trending Movies & series backgrounds API

Drewey

Well-known member
Joined
May 30, 2021
Messages
66
Awards
3
Offline
This is a working api that will allow you to add the top 20 trending movies & series backdrops posters title overview ect slideshow
sign up for a free api key at themoviedb.org
upload the contents of the zip file to your hosting
line 2 of get.php add your api key
navigate to yourpanel/get.php in browser to build and update the database
navigate to yourpanel/main_movies.php or main_series.php

credits to @jbetbetbet for the .js & .css files

tmdb.jpgScreenshot 2023-10-18 004002.jpgScreenshot 2023-10-18 003847.jpg
 
Last edited:

Drewey

Well-known member
Joined
May 30, 2021
Messages
66
Awards
3
Offline
How add this to smarter in main background
Adding the files to your panel and renaming main_movies.php to what ever file name that controls your backgrounds should work
 

Drewey

Well-known member
Joined
May 30, 2021
Messages
66
Awards
3
Offline
To keep it updated either reload the get.php weekly or set up a cron job to do it for you
 

yamcell

Well-known member
Joined
Oct 25, 2021
Messages
232
Awards
3
Offline
Adding the files to your panel and renaming main_movies.php to what ever file name that controls your backgrounds should work
That the reason to sdk the app not have background change need to implement from panel
 

Dixie1878

Active member
VIP Member
Joined
May 21, 2021
Messages
56
Awards
3
Offline
To keep it updated either reload the get.php weekly or set up a cron job to do it for you
Any help setting up the Cron job mate? Would it start like this: 0 1 * * * wget https://
 

Drewey

Well-known member
Joined
May 30, 2021
Messages
66
Awards
3
Offline
Any help setting up the Cron job mate? Would it start like this: 0 1 * * * wget https://
0 0 * * 0 /usr/bin/php /path/to/your/get.php
would update the script at midnight on sundays

0 6 * * * /usr/bin/php /path/to/your/get.php
would update 6am daily you can also edit the get.php line 3&4 from trending/week to trending/day if you wanted
 
Last edited:

Dixie1878

Active member
VIP Member
Joined
May 21, 2021
Messages
56
Awards
3
Offline
0 0 * * 0 /usr/bin/php /path/to/your/get.php
would update the script at midnight on sundays

0 6 * * * /usr/bin/php /path/to/your/get.php
would update 6am daily you can also edit the get.php line 3&4 from trending/week to trending/day if you wanted
Thanks (y)
 
Top