vfalies / tmdb

PHP Wrapper for TMDB (The Movie DataBase) API V3
https://vfac.fr/projects/tmdb
MIT License
22 stars 5 forks source link

Contribution of Missing Endpoints & Daily File Exports #40

Closed srichter closed 4 years ago

srichter commented 4 years ago

Great work on the foundations of this API wrapper. Would you accept pull requests to flush out the missing API endpoints?

Also, how would you like to see the Daily File Exports implemented? Since there's no authentication required for them and they're returned as gzipped non-standard json (json objects separated by newlines) they'd need their own parsing.

vfalies commented 4 years ago

Thank you ! Of course I accept pull requests to complete this API. If necessary I will comment them before merging.

Concerning the Daily File Exports, I don't had thinking about it. Therefore I'm open minded on the implementation. It must be generic to be use on the most simply and robust as possible.

srichter commented 4 years ago

Awesome, I will implement the missing endpoints as I need them in my project. I am working on the first one, TV Networks.

For the exports, I was thinking of adding a method in the Factory to get an "Export" object which will have its own implementation of the HTTPClient since we do not need the API key or other methods from the Tmdb class.

I also plan to implement:

I'm also working on a Laravel package for this wrapper.

vfalies commented 4 years ago

TV Networks endpoint added in release 1.8