دعم الموقع

Hi, I just registered (thanks for the quick response to my registration request) and I am trying to make use of the database. I have a fair bit of experience with programming but I have no idea how the API for this site works. I'm not even sure what language the API is written in and the documentation hasn't been any help. I'm guessing I don't write the job on my own computer but somehow make use of apiary.io but I'm not sure. It might help if the documentation had a simple walk through example. Any help would be greatly appreciated, Greg

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

Jump to last post

Hi ggdhines,

First of all, Apiary is just a tool to help you out. It is neither a service offered by us or something you would use to make "real world" requests.

Secondly, our API is a JSON web service. So depending on what language you prefer to write code in, you would need to look at the easiest/best way to do it. We have a number of user contributed libraries that can help make this even easier.

But, at the end of the day a simple request to retrieve the movie with the id of 550 looks like this (replace ### with your API key):

http://api.themoviedb.org/3/movie/550?api_key=###

Cheers.

Hi

I'm also new here and I am getting familiar with the API. I want to know how to use the poster path that is returned in the JSON object. It starts with a "/" and then some characters and then ends with the file type. I do not know how to use that to get access to the full URL of the image. I would appreciate some guidance. Thanks.

P.S: If this is not the correct place to post such a question then I am sorry.

You can read about how to get the required path information for images on the configuration method.

Cheers.

but how do you find get the movies number? i just want to search based on a name i don't know the number of a film?

Hi eoin_a,

You can get the ID by doing a search: http://docs.themoviedb.apiary.io/#search

Search supports the searching by title like you were asking about.

Cheers.

i tried by typing this into my browser and it didnt return anything

http://themoviedb.apiary.io/3/search/the+football+factory?api_key=#######

basically the construction of the url is where my issue is where do i put the api key in the url

https://api.themoviedb.org/3/search/movie?api_key=######################f/fight+club

heres and example of the url iam calling with curl in my php program Iam pretty sure its wrong because when i make a similar call to http://www.yahoo.com i get back the paga data

It returns data when I use http but says i have an invalid key? and nothing when i use https.?

A valid search call looks like:

http://api.themoviedb.org/3/search/movie?api_key=###&query=fight+club

Cheers.

thanks for the help i seem to be able to get the data using the url in the browser but its returning nothing when using curl. also i can make a call to configuration but this is no good to me as i want data on a specific movie.

I fixed it. it was an issue with the certificate authentication

Great.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول