An open API service indexing awesome lists of open source software.

https://github.com/royrusso/freebase-php

Reading People/Person data via the FreeBase.com API
https://github.com/royrusso/freebase-php

Last synced: 9 months ago
JSON representation

Reading People/Person data via the FreeBase.com API

Awesome Lists containing this project

README

          

freebase-php
============

Sample PHP script that shows how to query the FreeBase API for Person data. Additionally, it traverses the FreeBase API Result extracting important details.
This script also allows you to see the entire JSON result.

* Live Demo: http://royrusso.com/freebase-php/

Requirements
------------
* Apache WS or IIS
* PHP 5.3+
* PHP-Curl lib enabled
* You will need a valid Google Developer API key. Get one here: https://developers.google.com/apis-explorer/

Installing
------------
* Copy the contents of the 'freebase' directory to your web server.
* Browse to http://yourserver/freebase.

Helpful Links
------------
* The Freebase API documentation can be found here: https://developers.google.com/freebase/

Notes
------------
I originally wrote a version of this script to extract Author data for my site, http://www.worldofquotes.com. You can see it presented here for reference: http://www.worldofquotes.com/author/Mahatma+Gandhi/1/index.html

License
------------
See included LICENSE.md file.