Skip to content

adamjmcgrath/films-data-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Films data api

This is an App Engine application that indexes films from the Freebase API and makes them available using the App Engine Search API.

It can be used for autocomplete as the film titles are tokenized and can be searched using partial queries.

The search results are ranked by gross revenue, when available, then release date.

Example

GET /api?q=potter

[
  {
    "year": 2010,
    "rank": 956399711,
    "key": "/en/harry_potter_and_the_deathly_hallows_part_i",
    "title": "Harry Potter and the Deathly Hallows - Part I"
  },
  {
    "year": 2009,
    "rank": 934416487,
    "key": "/en/harry_potter_and_the_half_blood_prince_2008",
    "title": "Harry Potter and the Half-Blood Prince"
  },
  ...
]

Usage

To use, you need your own Freebase API key. Copy secrets.py.example to secrets.py and add your API key.

About

Films data JSON api

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published