Been a while since I made the first post to this conversation, so I felt an edit was needed. I'm happy to say as of today 25th March 1.0.0 has been released!
For those of you who come across here for the first time, what does it do? Well, it implements everything from TMDB, and contains loads of examples to start out from.
Please take a look at the project here https://github.com/wtfzdotnet/php-tmdb-api, and if you feel something is wrong or missing and no issues exist, please create an issue or solve it :-), I'm happy to take on some pull requests!
Thanks,
Michael Roterman
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by wtfzdotnet
on November 1, 2013 at 11:47 PM
For anyone who wants to take a quick dive into it, I've already put the current state on Github ( develop branch ).
https://github.com/wtfzdotnet/php-tmdb-api
Do note this is far from finished!
Reply by wtfzdotnet
on November 19, 2013 at 6:46 PM
Haven't been around for a while to update, have had a crazy workload lately, but managed to make some time this weekend to update and refactor a lot of the API. I would consider the API namespace to become stable in the next few days for retrieving RAW data, and I will be tagging this in github.
However, my main focus relies on the Model namespace, which should be as close as 1:1 to the whole TMDB API currently, and I will try my best to keep reflecting it. ( If the author might read this, is there any mailing list or place I should subscribe to to receive changes automatically? ).
This weekend I've introduced factories and repositories to the Movie section, where I am still experimenting around setlling for the right way to go. Provided I previously gave an example here's the current state ( Mind you this is a very simple and extensive example ):
Currently this outputs:
Not everything is implemented yet and things are going to change, but feedback / contributions are more than welcome!
Reply by wtfzdotnet
on November 19, 2013 at 7:09 PM
For time being I will just be implementing the simplest ways of searching / getting movies, in a later stadium I intend to provide a bunch of useful filters as soon as I get around to actually using the API myself.
Reply by wtfzdotnet
on January 11, 2014 at 8:28 PM
The Api namespace should be ready for usage, the Model namespace will take a while longer, most of the Movie, Tv and People sections are "done" though for simple usage.
Reply by Travis Bell
on January 13, 2014 at 3:36 PM
Awesome work wtfzdotnet.
As soon as you think it's "beta" ready, I'll add it to the list of libraries.
Reply by wtfzdotnet
on January 17, 2014 at 11:39 AM
Thanks Travis! Have been delayed a bit but trying to catch up for a release this month. I've been exploring filtering options etc. and already have some implementations for collections.
Could you provide some small number of statistics if possible about the usage of ClientSessions ( the Account related options? ). It's been on the postpone list for now, but I'm curious to know how many people actually use this? I'd consider implementing the API side around this beta release if I have time for it. Altough I'd rather throw it out there as soon as most of it is done and stable, so people can start consuming it.
Reply by Travis Bell
on January 17, 2014 at 11:56 AM
I'm not sure what kind of stats you're after but here's some loose info.
We average around 5,000 new sessions a month (that's all together, guest sessions and regular full sessions) across our API clients. This is an area that I've been really trying to get more usage. Ratings and guest sessions especially. It's really important to try and get those ratings for us.
If you have any other specific questions, let me know.
Reply by wtfzdotnet
on January 17, 2014 at 1:26 PM
Thanks for the prompt response :-) seeing those statistics I guess I'll take a look integrating it on the Api namespace side before first beta, if easy I'll try to also cover it in the Model namespace at the same time however currently my priority lies in the rest of the API.
I'll do my best to get the full stack implemented as soon as I'm able to.
Reply by wtfzdotnet
on January 18, 2014 at 9:04 AM
Some good news on the account function side, I seem to have found a contributor which will take on the task of integrating the account API. And possibly help out with other parts of this library :-), awaiting pull requests!
Reply by wtfzdotnet
on January 27, 2014 at 7:33 PM
Been on a massive update to get everything unit tested, got to 22% now, and still have to work on some missing parts but I feel like I'm still on track now to reach the milestone in a month.
Seeing everything is unit tested from now on I've also connected travis-ci and scrutinizer to provide some insight on the current state:
https://travis-ci.org/wtfzdotnet/php-tmdb-api https://scrutinizer-ci.com/g/wtfzdotnet/php-tmdb-api/
Reply by wtfzdotnet
on January 27, 2014 at 7:41 PM
The best place by the way to keep track of things is either starring/watching the github repository or (especially) keep your eye on scrutinizer https://scrutinizer-ci.com/g/wtfzdotnet/php-tmdb-api/ .
As soon as you see a
master
branch in the repository I also consider everything to be ready for it's first official version.Reply by wtfzdotnet
on February 24, 2014 at 8:12 PM
It has been a while since I've posted here, so just for a quick update for anyone following this topic:
Most of the API is considered alpha ready now, unfortunately the developer who would do the auth and account parts backed out of the project so I'm doing this on my own now. I've managed to implement the basics for RequestToken's and Sessions by now and a few Account methods in a local branch. As soon this is worked out and merged into develop and I'm happy with the rest of the state of the library I'll be tagging alpha.
The library has been updated to the latest change-sets in the API as far as I could keep up with ( If I missed anything please do create an issue on github! ).
I've also created a Symfony2 Bundle located here, https://github.com/wtfzdotnet/WtfzTmdbBundle , to make use of the library within Symfony2.
Reply by Francesco Mari
on February 25, 2014 at 6:26 AM
Thanks man! You're doing great! :-)
Reply by wtfzdotnet
on February 25, 2014 at 9:56 AM
Hi Franscesco!
Thanks for that :-) I'm doing my best to make this beneficial for the whole community.
I'm wondering if you are currently making use of my implementation? And if so for what? I'm eager for some feedback from people :-) and curious where it is used.
Reply by wtfzdotnet
on February 25, 2014 at 5:27 PM
API namespace now contains all account related methods, moving on to implementing this in the modeled namespace.