background preloader

Allocine

Facebook Twitter

Gem Parser Allocine. API Allocine V3. AlloCiné a mis à jour il y a quelques temps ses APIs. Je vais tenter de les expliquer sur cette nouvelle page. Pour les découvrir, j'ai utilisé le même principe que la première fois . Une petite différence est à noter, il semblerait que la valeur partner a changé depuis. Sa valeur sera désormais YW5kcm9pZC12M3M . L' URL de base a, elle aussi, changé : Les différentes APIs s'appellent toutes en GET .

Paramètres partner : code partenaire ( YW5kcm9pZC12M3M pour l'application Android) q : chaîne à chercher (chaîne de caractères) format (optionnel) : renvoie le résultat au format JSON ou XML ( json ou xml ) filter (optionnel) : filtrer selon un type de résultat (énumeration de termes séparés par des virgules) movie : afficher les films correspondant à la recherche theater : afficher les cinémas person : afficher les acteurs, réalisateurs, etc. News : afficher les news tvseries : afficher les séries TV count (optionnel) : nombre de résultats à renvoyer (entier) Exemples : Designing rails api using rabl and devise. Most of us are aware that enabling API access for rails application is easy as Rails provides RESTful APIs by default. However, a little complexity arises when some responses are expected in xml format (maybe for some legacy system) and JSON format.

Complexity increases when these API calls need authentication. The initial obvious thought that comes to ones mind is to create different views for each format and add respond_to block in controller. No! Rabl is a gem which comes in handy when you want to represent the response in both json and xml using a single template. We can enable API for an existing application or new application – the steps are same! Enable APIs without authentication.enable APIs with authentication. Enabling API access without authentication Add ‘rabl’ entry to your GemfileYou might need to add json/xml parser gem to your Gemfile if don’t have them alreadyExecute ‘bundle update’ In the above code we only mention the attributes that are need to be rendered.

All set! Test API Allociné 5. Test API Allociné 4 Série. Test API Allociné 3. Test API Allociné 2. Test API Allociné. GroWiki API Allociné. Depuis le temps qu'AlloCiné existe, aucune API n'a encore été faite, ce qui est quand même inadmissible pour ce site de référence. Donc jusqu'à lors, quiconque voulait utiliser AlloCiné pour récupérer des données sur tel ou tel film était obligé de faire du parsing sauvage de leur site web.

Mais c'était sans compter sur un peu de reverse engineering bonne volonté ! Pour y arriver, je me suis servi de l'application AlloCiné disponible sur l'Android Market. Je l'ai donc installé sur mon téléphone tout en lançant en parallèle un tcpdump afin de capturer l'activité réseau. J'ai donc un peu navigué dans l'application afin de trouver les différents web services. Le premier web service movie est très intéressant étant donné qu'il permet de récupérer l'intégralité des informations d'un film pour peu qu'on connaisse son identifiant. Un problème subsiste tout de même : comment faire pour récupérer l'identifiant d'un film à partir de son titre ou bien de mots clés. Pas mal !

IVA Launchpad API. Our documentation pages provide you with the information you need to get the most from our service. The menu on the left of this page points to articles on every facet of putting trailers on your site. Use the menu to jump quickly to the subject you need. There are two basic steps to putting trailers onto your site: 1. Get the data about the title you want along with its Published ID. 2.

Get the video for that title and put it into a player (either yours or ours.) Of course there’s much more you can do after those steps, from adding social media to advertising, but it all starts with the trailers. 1. 2. Additional Services : Of course, there’s a lot more that you can do through IVA. That’s it! Film Crave API. Monthly Movie Data Plans Movie data that is reasonable, reliable, and easy to use. Perfect for mobile applications, expanding websites needing a boost in movie data, or special applications.

Fee based data plans include technical support, special requests, and more. Monthly Fee: Starting as low as $99 Lease Includes (full movie database must only be leased, not "owned") Movie Database (35,000) Coming Soon Titles DVD Release Schedule Up to 6 listed cast and crew Release dates Trailer information Much more! For more information regarding the FilmCrave custom movie data plan email business@filmcrave.com Free FilmCrave Movie Data API FilmCrave developed this Application Programming Interface (API) for free use. The FilmCrave API will allow you to reach into our enormous collection of movie reviews, movie ratings, trailers, actors, directors, release dates, and more! Ideal industries are movie theaters, DVD stores, news websites, and other social networks.

Data Structure: