janaipakos / ghibliapi

A simple API for Studio Ghibli resources. Unofficial/fan-made
https://ghibliapi.herokuapp.com
MIT License
310 stars 109 forks source link

Films do not list locations or people even if there are locations or people that refer to the film #27

Open happytuna75 opened 4 years ago

happytuna75 commented 4 years ago

This is a result from: https://ghibliapi.herokuapp.com/locations { "id": "11014596-71b0-4b3e-b8c0-1c4b15f28b9a", "name": "Irontown", "climate": "Continental", "terrain": "Mountain", "surface_water": "40", "residents": [ "https://ghibliapi.herokuapp.com/people/ba924631-068e-4436-b6de-f3283fa848f0", "https://ghibliapi.herokuapp.com/people/030555b3-4c92-4fce-93fb-e70c3ae3df8b" ], "films": [ "https://ghibliapi.herokuapp.com/films/0440483e-ca0e-4120-8c50-4c8cd9b965d6" ], "url": [ "https://ghibliapi.herokuapp.com/locations/11014596-71b0-4b3e-b8c0-1c4b15f28b9a" ] },

if you use the film id to fetch https://ghibliapi.herokuapp.com/films/0440483e-ca0e-4120-8c50-4c8cd9b965d6 you get { "id": "0440483e-ca0e-4120-8c50-4c8cd9b965d6", "title": "Princess Mononoke", "description": "Ashitaka, a prince of the disappearing Ainu tribe, is cursed by a demonized boar god and must journey to the west to find a cure. Along the way, he encounters San, a young human woman fighting to protect the forest, and Lady Eboshi, who is trying to destroy it. Ashitaka must find a way to bring balance to this conflict.", "director": "Hayao Miyazaki", "producer": "Toshio Suzuki", "release_date": "1997", "rt_score": "92", "people": [ "https://ghibliapi.herokuapp.com/people/ba924631-068e-4436-b6de-f3283fa848f0", "https://ghibliapi.herokuapp.com/people/ebe40383-aad2-4208-90ab-698f00c581ab", "https://ghibliapi.herokuapp.com/people/030555b3-4c92-4fce-93fb-e70c3ae3df8b", "https://ghibliapi.herokuapp.com/people/ca568e87-4ce2-4afa-a6c5-51f4ae80a60b", "https://ghibliapi.herokuapp.com/people/e9356bb5-4d4a-4c93-aadc-c83e514bffe3", "https://ghibliapi.herokuapp.com/people/34277bec-7401-43fa-a00a-5aee64b45b08", "https://ghibliapi.herokuapp.com/people/91939012-90b9-46e5-a649-96b898073c82", "https://ghibliapi.herokuapp.com/people/20e3bd33-b35d-41e6-83a4-57ca7f028d38", "https://ghibliapi.herokuapp.com/people/8bccdc78-545b-49f4-a4c8-756163a38c91", "https://ghibliapi.herokuapp.com/people/116bfe1b-3ba8-4fa0-8f72-88537a493cb9" ], "species": [ "https://ghibliapi.herokuapp.com/species/af3910a6-429f-4c74-9ad5-dfe1c4aa04f2", "https://ghibliapi.herokuapp.com/species/6bc92fdd-b0f4-4286-ad71-1f99fb4a0d1e", "https://ghibliapi.herokuapp.com/species/f25fa661-3073-414d-968a-ab062e3065f7" ], "locations": [ "https://ghibliapi.herokuapp.com/locations/" ], "vehicles": [ "https://ghibliapi.herokuapp.com/vehicles/" ], "url": "https://ghibliapi.herokuapp.com/films/0440483e-ca0e-4120-8c50-4c8cd9b965d6", "length": null }

the same happens for many movies, often they do not list locations, people, vehicles, species even if there are such items linking to the film.

bacxhus commented 3 years ago

I have this problem as well. For example, in Insomnia if I use https://ghibliapi.herokuapp.com/films/cd3d059c-09f4-4ff3-8d63-bc765a5184fa

There is no list of people from the film specifically, just the link to all people.

{ "id": "cd3d059c-09f4-4ff3-8d63-bc765a5184fa", "title": "Howl's Moving Castle", "description": "When Sophie, a shy young woman, is cursed with an old body by a spiteful witch, her only chance of breaking the spell lies with a self-indulgent yet insecure young wizard and his companions in his legged, walking home.", "director": "Hayao Miyazaki", "producer": "Toshio Suzuki", "release_date": "2004", "rt_score": "87", "people": [ "https://ghibliapi.herokuapp.com/people/" ], "species": [ "https://ghibliapi.herokuapp.com/species/af3910a6-429f-4c74-9ad5-dfe1c4aa04f2" ], "locations": [ "https://ghibliapi.herokuapp.com/locations/" ], "vehicles": [ "https://ghibliapi.herokuapp.com/vehicles/" ], "url": "https://ghibliapi.herokuapp.com/films/cd3d059c-09f4-4ff3-8d63-bc765a5184fa", "length": null }

CatusKing commented 2 years ago

As far as i know when there are no current people to list it just directs you to people in general but ima start adding tons of characters hopefully in the upcoming week