Assistance de TMDB

Example: https://api.themoviedb.org/3/search/tv?include_adult=false&language=en-US&page=1

There is a request to search for TV shows, which also includes anime, but the search results intersect TV series and anime. The response has a genres field, perhaps it can be used to filter anime separately, but what are the anime IDs?

2 réponses (sur la page 1 sur 1)

Jump to last post

@Denchikidze said:
How to query only Anime in search
Example: https://api.themoviedb.org/3/search/tv?include_adult=false&language=en-US&page=1
There is a request to search for TV shows, which also includes anime,
but the search results intersect TV series and anime.
The response has a genres field,
perhaps it can be used to filter anime separately, but what are the anime IDs?

Your Search example is for searches using the title.
If you have the title, you don't need anything else.
https://developer.themoviedb.org/reference/search-multi

But if you are going to search without having the title and using the Genre field, then you should use Discover.
https://developer.themoviedb.org/reference/discover-tv

We don't have the Anime Genre.
We have Animation. ID 16.
You can use it in conjunction with the Keyword field.
And most Animes have the keyword anime and its variations.

anime
based on anime
korean anime
idol anime
anime studies
anime production
anime inspired
anime director
anime studio
legendary anime moments

@ticao2 said:

@Denchikidze said:
How to query only Anime in search
Example: https://api.themoviedb.org/3/search/tv?include_adult=false&language=en-US&page=1
There is a request to search for TV shows, which also includes anime,
but the search results intersect TV series and anime.
The response has a genres field,
perhaps it can be used to filter anime separately, but what are the anime IDs?

Your Search example is for searches using the title.
If you have the title, you don't need anything else.
https://developer.themoviedb.org/reference/search-multi

But if you are going to search without having the title and using the Genre field, then you should use Discover.
https://developer.themoviedb.org/reference/discover-tv

We don't have the Anime Genre.
We have Animation. ID 16.
You can use it in conjunction with the Keyword field.
And most Animes have the keyword anime and its variations.

anime
based on anime
korean anime
idol anime
anime studies
anime production
anime inspired
anime director
anime studio
legendary anime moments

I'm just trying to use the api for suggestions during search, but I need to differentiate between anime and tv shows. Also I don't have a full title, just a part of the phrase, but apparently filtering by id = 16 is my only option.

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenĂŞtre ouverte
? Ouvrir la fenĂŞtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenĂŞtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion