netflix-assistant icon indicating copy to clipboard operation
netflix-assistant copied to clipboard

Upgrade to using API v3 to fix API error

Open MichaelCurrin opened this issue 3 years ago • 1 comments

There's a 502 error on the frontend

Which is a 404 internally

https://netflix-assistant.netlify.app/.netlify/functions/shows?url=https://api.reelgood.com/v2/browse/source/netflix?sort=4&sources=netflix&take=250

error

The API itself changed or broke:

$ curl https://api.reelgood.com/v2/browse/source/netflix -I
HTTP/2 404 

MichaelCurrin avatar Jun 05 '22 11:06 MichaelCurrin

API v3 is the new way to go

A quick check on https://reelgood.com/tv

https://api.reelgood.com/v3.0/content/browse/filtered?availability=onSources&content_kind=show&free=false&hide_seen=false&hide_tracked=false&hide_watchlisted=false&imdb_end=10&imdb_start=0&region=us&rg_end=100&rg_start=0&skip=0&sort=0&sources=netflix&take=50&year_end=2022&year_start=1900

MichaelCurrin avatar Jun 05 '22 11:06 MichaelCurrin