How to migrate from MyAPIFilms 1.X.X to 2.0
Change the URI for requests:
/imdb/<resource>
/tmdb/<resource>
The format must be in lowercase:
&format=json
&format=xml
The JSONP format disappears. To return in this format simply inform the "callback" parameter:
&format=json&callback=myFunction or only &callback=myFunction, without "format" parameter
It is mandatory to send the token in all requests
&token=<YOUR_TOKEN>
Now all parameters are numerical:
actors: Before: N, S, F. Now: 0, 1, 2
moviePhotos: Before: N, S, F. Now: 0, 1, 2
movieVideos: Before: N, S, F. Now: 0, 1, 2
filter: Before: N, M, TV, TVE, VG. Now: 2 (N), 3 (M), 4 (TV), 5 (TVE), 6 (VG)
actorPhotos: Before: N, S, F. Now: 0, 1, 2
actorVideos: Before: N, S, F. Now: 0, 1, 2
data: Before: S, F. Now: 0, 1
TMDB API Changes:
Only has support to json format
All API's:
The response format has changed. An example:
Results: {"data":{"movies":[{}]},"about":{"version":"2.0.0"}
Error: {"error":{"code":513,"message":"Invalid token"},"about":{"version":"2.0.0"}}