„The Movie Database“ palaikymas

Hey,

I used to be able to search for TV Shows (to get the show id) using this query:

http://private-6edc-themoviedb.apiary.io/3/search/tv?api_key=####&query=Doctor+Who

Used to get me the correct result, but now it always defaults to the information for Breaking Bad:

{   
  "page": 1,
  "results": [
    {   
      "backdrop_path": "/bzoZjhbpriBT2N5kwgK0weUfVOX.jpg",
      "id": 1396,
      "original_name": "Breaking Bad",
      "first_air_date": "2008-01-19",
      "origin_country": [
        "US"
      ],  
      "poster_path": "/4yMXf3DW6oCL0lVPZaZM2GypgwE.jpg",
      "popularity": 3.51233746888476,
      "name": "Breaking Bad",
      "vote_average": 9.0,
      "vote_count": 118 
    }   
  ],  
  "total_pages": 1,
  "total_results": 1
}   

It doesn't matter what the query is. Am I doing something wrong here? Did the API change?

Thanks in advance.

3 atsakė (on page 1 iš 1)

Jump to last post

Hi dbuehler,

You shouldn't use Apiary as anything but a testing tool.

The production API is (and always has been):

https://api.themoviedb.org/3/search/tv?api_key=###&query=doctor+who

With regards to what changed with Apiary, I'm not sure. You should contact them.

Cheers.

Jep, that fixed it. Don't know why I still had Apiary in the code, thought I changed that and then never really looked at the URL again.

Sorry for the daft question and thanks for the deft answer :)

Heh, no worries. Glad you sorted it out.

Negalite rasti filmo ar TV laidos? Prisijunkite, kad sukurtumėte.

Bendras

s susitelkti į paieškos juostą
p profilio meniu
esc uždarykite atidarytą langą
? spartieji klavišai

Medijų puslapiuose

b grįžkite atgal (arba tėvams leidus)
e į redagavimo puslapį

TV sezono puslapiuose

(dešinė rodyklė) sekantis sezonas
(kairė rodyklė) ankstesnis sezonas

TV epizodo puslapiuose

(dešinė rodyklė) sekantis epizodas
(kairė rodyklė) ankstesnis epizodas

Visuose atvaizdžio puslapiuose

a atverti atvaizdžio pridėjimo langą

Visuose redagavimo puslapiuose

t vertimo parinktys
ctrl+ s pateikti formą

Diskusijų puslapiuose

n sukurti naują diskusiją
w perjungti peržiūros būseną
p perjungti viešasis / privatus
c perjungti uždaryti / atidaryti
a peržiūrėti aktyvumą
r atsakyti į pokalbį
l į paskutinį atsakymą
ctrl+ enter pateikti pranešimą
(dešinė rodyklė) sekantis puslapis
(kairė rodyklė) ankstesnis puslapis

Nustatymai

Norite įvertinti ar įtraukti šį elementą į sąrašą?

Prisijungti