csfd-api icon indicating copy to clipboard operation
csfd-api copied to clipboard

names "en" to response

Open jirilad opened this issue 10 years ago • 1 comments

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.

jirilad avatar May 19 '14 07:05 jirilad

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?

Mikulas avatar May 19 '14 08:05 Mikulas