MoviesDatabase

FREEMIUM
Durch Adriano Massimo | Aktualisiert 20일 전 | Movies
Popularität

9.9 / 10

Latenz

218ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

crew/main_actors not working

Rapid account: Hadasnahshon
hadasnahshon
일 년 전

Given a movie title, I’m trying to get a list of all actors. I tried:

url = “https://moviesdatabase.p.rapidapi.com/titles/tt0377092/main_actors

headers = {
“X-RapidAPI-Key”: “adbdbf11bcmsh7cd8e0ea91e76fep1f9d12jsn3aeb41b8e022”,
“X-RapidAPI-Host”: “moviesdatabase.p.rapidapi.com
}

response = requests.request(“GET”, url, headers=headers)

print(response.text)

With both /crew and /main_actors and it’s not working. tt0377092 is the ID returned by /titles/search/title/Mean%20Girls.

Thanks!

(The paste above is copy-paste from the documentation provided.)

Rapid account: S Adrian
SAdrian Commented 일 년 전

@hadasnahshon in any way you can think about it, you can help, just let me know in what way you wanna help and will talk about it

Rapid account: S Adrian
SAdrian Commented 일 년 전

@erehbezerra Hi, there is custom info parameter named just like that “custom_info” that will return this :

id:
ratingsSummary:
episodes:
primaryImage:
titleType:
principalCast:
creators:
directors:
writers:
genres:
titleText:
releaseYear:
releaseDate:
runtime:
series:
meterRanking:
keywords:
plot:

Thanks,
AM

Rapid account: Erehbezerra
erehbezerra Commented 일 년 전

Hello SAdrian! How are you doing?
So, I have a similar question… I need movie genres and actors in my request, but genres is in the info parameter “base_info” and actor is in “principalCast”… So, I would need to make 2 requests, right ? =/
Is there any way I can have these two pieces of information?

Thanks!! 😄

Rapid account: Hadasnahshon
hadasnahshon Commented 일 년 전

Thank you very much! Is there any way to help out with the API?

Rapid account: S Adrian
SAdrian Commented 일 년 전

Hi,

This paths not available at the moment. You can get it from title, with info parameter ‘principalCast’ or ‘extendedCast’ ( you can find the info in the ‘About’ and ‘Tutorials’).

Thanks,
AM

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen