Giter Club home page Giter Club logo

jsonclips's Introduction

XML. Why XML?

WHY??

Movieclips.com API as JSON

We wanted to use the movieclips.com API at the 2012 Movie Hack Day but couldn't be bothered with XML. This little goliath app runs on heroku and provides a slimmed down version of their API in JSON instead of XML.

It runs on http://jsonclips.herokuapp.com but to try it out, click the example links below.

Supported Endpoints

Fulltext search

Request like this (example)

http://jsonclips.herokuapp.com/search?q=he%20peed%20on%20my%20rug

You get stuff from movieclip.com's API endpoint http://api.movieclips.com/v2/search/videos?q=searchterm but in pretty JSON instead of bulky XML/atom.

Extras:

  1. Associated movie id and name from search results (movie clips) are scraped from the description's HTML to allow for filtering and easier navigation.
  2. Largest and smallest associated pictures are added to be used as thumbnail or large preview.

Search for clips mentioning movie titles

Want to search for clips mentioning movie names? No problemo:

http://jsonclips.herokuapp.com/search_title_quote?q=top%20gun

This fetches a search for Top Gun, but excluding the movie Top Gun and mashups and top 10 lists (example).

Tadaa, a search for movie clips that quote other movie names.

Exclude movies

You can also exclude movie names from the normal search by appending a exclude_movie=movie1,movie2 parameter like so (example):

http://jsonclips.herokuapp.com/search?q=top%20gun&exclude_movie=top%20gun,mashup,top%2010

JSONP

Yeah, just append callback=your_callback to the query string and you gots teh data.

jsonclips's People

Contributors

jayniz avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

grandbora

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.