IMDb

फ्रीमियम
द्वारा Api Dojo | अपडेट किया गया 2 महीने पहले | News, Media
लोकप्रियता

9.9 / 10

लेटेंसी

830ms

सेवा का स्तर

100%

सभी चर्चाओं पर वापस जाएं

Get all episodes for actor in production

avatar
ryan.bannon
2 महीने पहले
Hi,

I'm trying to build something where, given an actor's IMDb ID, I gather all the episodic TV episodes they've been in. Unfortunately, `get-all-filmography` only returns the first 6 they've been in per production; if they've been in more, I have to search all the episodes for a production until I've found all their appearances (by searching the cast for each episode).

Is there an easier way?

Tx,

Ryan
avatar
apidojo commented 2 महीने पहले

Hello,

May you confirm that the required feature is available somewhere on the official site/application? May you share with me some links , screenshots as reference?

Regards.

avatar
ryan.bannon commented 2 महीने पहले

Hi,

Looks like something is available via some JS. For example:

https://www.imdb.com/title/tt0092455/fullcredits/

The JS function toggleSeeMoreEpisodes seems to pull them up.

Tx,

Ryan

avatar
apidojo commented 2 महीने पहले

Hello,

There is …/title/get-full-credits. You may try it.
The endpoint …/actors/get-all-filmography?nconst=nm0000653 returns all 165 items of filmography for Brent Spiner. You should check the official site for available filmography and the result should be as same as our API.

Regards.

avatar
ryan.bannon commented 2 महीने पहले

Hi,

Thanks for the response. However, I do not believe you understood what I was asking.

I am not asking for a list of an actor’s full credits. I am asking for an actor’s list of episodes they appeared in for one of those credits.

For example: Brent Spiner (nm0000653). Yes, ‘get-all-filmography’ lists all “credits”. But, look at credit 71 (Star Trek: The Next Generation). It only shows 5 episodes of 176 episodes he appeared in. I want to get all the episodes that he appeared it for one of his credit listings. If there are more than 5 – that is, if there are more than is listed in get-all-filmography – I have to get-full-credits of EVERY EPISODE and parse it for his name. What you showed in your previous post was what I had already explained in my first post.

I have shown you that there is a way to get the information I asked for (per your request earlier in this thread). For example, for Brent Spiner (nm0000653), if I want all episodes he appeared in for credit tt0092455:

https://www.imdb.com/name/nm0000653/episodes/_ajax?title=tt0092455&category=actor&ref_marker=nm_flmg_act_72&start_index=0

I believe this could be integrated into your API.

tl;dr The response you provided does not help; you just restated the issue I am trying to resolve. The solution you could integrate into your API is provided here and in my previous post.

Tx,

Ryan

avatar
ryan.bannon commented 2 महीने पहले

A better example:

Actor: John de Lancie (nm0209496)
Credit: Star Trek: The Next Generation (tt0092455)

I want to get the ID of every episode John de Lancie was in for Star Trek: The Next Generation. So, I call:

  • …/get-all-filmography?nconst=nm0209496

I parse the results for credit tt0092455. Filmography 124 (tt0092455) shows he was in 8 episodes. BUT WHICH 8 EPISODES? Only 5 are returned! In order to find out, I would HAVE TO GO THROUGH ALL EPISODES OF STAR TREK: THE NEXT GENERATION! 😦

Or…

There could be an API call that uses the link I provided:

https://www.imdb.com/name/nm0209496/episodes/_ajax?title=tt0092455&category=actor&ref_marker=nm_flmg_act_72&start_index=0

Exactly what I need!

(Hell, maybe I should just consider hitting imdb directly instead of this API for this info.)

avatar
apidojo commented 2 महीने पहले

Hello,

I will forward your request to our IT team for review. You will receive notification if there is any new endpoint releases in the future.

Regards.

avatar
ryan.bannon commented 2 महीने पहले

Thank you!

avatar
apidojo commented 2 महीने पहले

Hello,

We have released a new endpoint which is …/actors/get-filmography-appearances

Regards.

avatar
ryan.bannon commented 2 महीने पहले

THANKS! THAT’S GREAT!

avatar
simifilm@gmail.com commented एक महीने पहले

Is there a chance that the same functionality is implemented for directors? At the moment, the numbers of episodes directed by a director listed with …actors/get-all-filmography is limited to five. There is basically no way than going through each individual episode to find out whether it was directed by a specific director. And …/actors/get-filmography-appearances does not seem to work with directors.

Can this be implemented for directors?

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें
रेटिंग: 4 - वोट: 12