دعم الموقع

Example: https://www.themoviedb.org/movie/430830-nobody-speak-hulk-hogan-gawker-and-trials-of-a-free-press

Shows a rating of 65%

But the api result from: https://api.themoviedb.org/3/find/tt6333064?api_key=XXXXXXXX&external_source=imdb_id shows 0.0 (i.e. 0%)

I'm new to the API hence the question - please don't take this as a criticism!

Also, is there an easy way to generate a URL to TMDb from the ID without having to log whether it's tv or movie? At the moment I would have to log at my end if it's a TV show or a movie and adjust the URL accordingly to https://www.themoviedb.org/[movie OR tv]/[the id] when I want to link back to TMDb

3 ردود (على هذه الصفحة 1 من 1)

Jump to last post

Hi @MaFt

The cache on that item will expire in about 4 hours. Most methods are only cached for around 6 hours. The data wasn't updated on the record the last time it got cached which is why it wasn't showing. It will update now.

Also, is there an easy way to generate a URL to TMDb from the ID without having to log whether it's tv or movie?

No, there is not. The ids are not globally unique. All ID ranges start at 1 for movies, TV shows and people.

Thanks Travis. 6 hours is easily frequent enough for my use. I think each title in my database gets its ratings refreshed around every 18-22 hours.

As for the URLs I've just logged the format (tv/movie) alongside the ID in my database so I can easily create .../movie/1234 URL. Your site adds the extra text in the URL redirect so that's an easy solution on my part.

You got it, we'll redirect to the proper URL with just an ID. No worries there. thumbsup_tone2

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول