پشتیبانی پایگاه داده‌ فیلم

Hello, how is it possible to send a request for a movie to the APi?

I found this, but where is the part where i can add the name i am looking for?

Example: SampleName -> Where have i to add this at the api?

var request = System.Net.WebRequest.Create("http://private-d576-themoviedb.apiary.io/3/movie/{id}") as System.Net.HttpWebRequest;
    request.Method = "GET";
                request.Accept = ""application/json"";
              request.ContentLength = 0;
string responseContent;
using (var response = request.GetResponse() as System.Net.HttpWebResponse) {
  using (var reader = new System.IO.StreamReader(response.GetResponseStream())) {
    responseContent = reader.ReadToEnd();
  }
}

3 پاسخ (در صفحه 1 از 1)

Jump to last post

A few things…

For title based searching, you're going to want to use the search endpoints. You can use the ?query parameter to do that. You'll also probably want to switch your request to the real production server, so a URL like this:

http://api.themoviedb.org/3/search/movie?api_key=###&query=x-men
var request = System.Net.WebRequest.Create("http://api.themoviedb.org/3/search/movie?api_key=###&query=x-men") as System.Net.HttpWebRequest;
    request.Method = "GET";
                request.Accept = ""application/json"";
              request.ContentLength = 0;
string responseContent;
using (var response = request.GetResponse() as System.Net.HttpWebResponse) {
  using (var reader = new System.IO.StreamReader(response.GetResponseStream())) {
    responseContent = reader.ReadToEnd();
  }
}

Cheers.

Is there any way to get a XML file back at my request?

No, our API is JSON only.

فیلم و نمایش تلویزیونی را نمی‌توانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.

Global

s تمرکز بر منوی جستجو
p منوی پروفایل باز شود
esc بستن پنجره باز
? پنجره میانبرهای صفحه‌کلید باز شود

در صفحات مدیا

b بازگشت به عقب (یا در صورت لزوم به منشا)
e برو به صفحه ویرایش

در صفحات فصل تلویزیونی

(فلش سمت راست) برو به فصل بعد
(پیکان سمت چپ) برو به نشست قبلی

در صفحات قسمت تلویزیونی

(فلش سمت راست) برو به قسمت بعد
(پیکان سمت چپ) برو به قسمت قبلی

در تمام صفحات تصویر

a پنجره افزودن تصویر باز شود

در تمام صفحات ویرایش

t انتخابگر ترجمه باز شود
ctrl+ s ثبت از

در صفحات بحث

n ایجاد بحث جدید
w تغییر وضعیت وضعیت تماشا
p تغییر وضعیت عمومی/خصوصی
c تغییر وضعیت بسته/باز
a گشایش صفحه فعالیت
r پاسخ به بحث
l برو به آخرین پاسخ
ctrl+ enter پیام خود را ثبت کنید
(فلش سمت راست) صفحه بعد
(پیکان سمت چپ) صفحه قبلی

تنظیمات

آیا می‌خواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟

ورود