Mikulas / csfd-api

Abandoned
31 stars 8 forks source link

names "en" to response #17

Open jirilad opened 10 years ago

jirilad commented 10 years ago

Ahoj, at first thanks for API. Could you please add parsing of english name to response of request /movie?search=[key word]. I mean names["en"]. Actualy there is just names["cs"]. It would really help. You actually have it in movie/[id] request. Would you know when it could be add If you would like to incorporate it? Thanks a lot Jiri.

Mikulas commented 10 years ago

Hi, while I would like to implement this, but the problem is current version of api strictly uses one csfd request per api request.

eg this result http://csfdapi.cz/movie?search=Silver+Linings+Playbook&type=html does only load http://www.csfd.cz/hledat/?q=silver+linings+playbook

Users logged into csfd can set what language do the titles appear in, so I could theoretically show either cs xor en titles.

Or I could cache everything on csfd, which I'm not certain I'm willing to (due to legal reasons, beyond others). There are multiple issues with this API that would be solved by intensive caching, so I might as well do that. Do you have any thoughts about this?