unogsNG

פרמיום
על ידי Admin | מְעוּדכָּן 9 days ago | Media
פּוֹפּוּלָרִיוּת

9.7 / 10

חֶבִיוֹן

494ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

include Genre as query parameter

Rapid account: Sjakelien
sjakelien
3 years ago

Do I correctly understand, that, in order to get a list of horror movies, I would need to first get all titles, then, for each title do a new request to get its genres, and then filter everything based on this added information?

Feels very inefficient.

Could you please add a [multiple, options] ‘genre’ parameter to your standard query?

Rapid account: Mwitteman
mwitteman Commented 3 years ago

any news on this? If the whole ‘genre’ part doesn’t work, I cannot offer my customers what they need

Rapid account: Mwitteman
mwitteman Commented 3 years ago

Sorry, just got to it now.
I managed to get a bunch of genres with the /genres endpoint
when I put one of the resulting 'netflixid’s in the /search endpoint (for instance ‘1701’ for ‘music’ I get zero results.
Is ‘genrelist’ mutually exclusive with another parameter?

Rapid account: Unogs
unogs Commented 3 years ago

You can use the /genres endpoint to get a list of genre ids… you can then submit any number of genreids in the genrelist variable on the /search endpoint

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות