Code Monkey home page Code Monkey logo

movie-times-yql's Introduction

movie-times-yql

A YQL parser for getting movie times through Fandango. Test it out at http://developer.yahoo.com/yql/console/

Here's an example of the data returned for zipcode="94109" and date="5/30/2012"

{
 "query": {
  "count": 1,
  "created": "2012-05-30T05:11:57Z",
  "lang": "en-US",
  "results": {
   "fandango": {
    "src": "http://www.fandango.com/94109_movietimes?date=5/30/2012",
    "theaters": [
     {
      "id": "AMC Van Ness 14",
      "name": "AMC Van Ness 14",
      "address": "1000 Van Ness Avenue, San Francisco, CA 94109",
      "onlinetickets": "true",
      "movies": [
       {
        "id": "Chernobyl Diaries",
        "title": "Chernobyl Diaries",
        "rating": "R, 1 hr 26 min",
        "runtime": "undefined",
        "times": [
         {
          "clock": "11:05a",
          "buyURL": "https://www.fandango.com/Transaction/Ticketing/ticketboxoffice.aspx?row_count=2551574784amp;mid=152960amp;tid=AAGBK"
         },
         {
          "clock": "10:15p",
          "buyURL": "https://www.fandango.com/Transaction/Ticketing/ticketboxoffice.aspx?row_count=2551574838amp;mid=152960amp;tid=AAGBK"
         }
        ]
       },
       {
        "id": "Men in Black III",
        "title": "Men in Black III",
        "rating": "PG-13, 1 hr 44 min",
        "runtime": "undefined",
        "times": [
         {
          "clock": "11:00a",
          "buyURL": "https://www.fandango.com/Transaction/Ticketing/ticketboxoffice.aspx?row_count=2551574781amp;mid=135737amp;tid=AAGBK"
         },
         {
          "clock": "8:15p",
          "buyURL": "https://www.fandango.com/Transaction/Ticketing/ticketboxoffice.aspx?row_count=2551574832amp;mid=135737amp;tid=AAGBK"
         },
         {
          "clock": "10:50p",
          "buyURL": "https://www.fandango.com/Transaction/Ticketing/ticketboxoffice.aspx?row_count=2551574845amp;mid=135737amp;tid=AAGBK"
         }
        ]
       }
      ]
     }
    ]
   }
  }
 }
}

Available for anyone to use under the MIT License.

movie-times-yql's People

Stargazers

Zvi avatar

Watchers

Zvi avatar  avatar

Forkers

toddrimes

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.