MoviesDatabase

FREEMIUM
Door Adriano Massimo | Bijgewerkt il y a 20 jours | Movies
Populariteit

9.9 / 10

Latency

220ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

crew/main_actors not working

Rapid account: Hadasnahshon
hadasnahshon
il y a un an

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 il y a un an

@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 il y a un an

@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 il y a un an

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 il y a un an

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

Rapid account: S Adrian
SAdrian Commented il y a un an

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

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen