cyruzin / golang-tmdb

This is a Golang wrapper for working with TMDb API. It aims to support version 3.
MIT License
119 stars 33 forks source link

Support for access token #44

Closed sayem314 closed 6 months ago

sayem314 commented 1 year ago

I would like to request adding support for TMDB API access token in the golang-tmdb library. Currently, the library only supports API key authentication.

https://developers.themoviedb.org/4/getting-started/authorization

sayem314 commented 1 year ago

I am currently using this patch to make it work with the access token. https://github.com/lunarr-app/golang-tmdb/commit/2cde74406a1d95fc2888fe05b2bfc9b9bc5db700

cyruzin commented 1 year ago

Hi @sayem314, this wrapper only supports version 3 for now. Last time I checked, v4 was not complete, how is it now days?

sayem314 commented 1 year ago

@cyruzin v4 is complete. You can check updated docs on tmdb docs.

cyruzin commented 1 year ago

@sayem314 cool. Let's build v4 then.

cyruzin commented 6 months ago

@sayem314 I gave up on v2, so I added support in this PR: https://github.com/cyruzin/golang-tmdb/pull/57