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
- Host: GitHub
- URL: https://github.com/royrusso/freebase-php
- Owner: royrusso
- License: other
- Created: 2013-04-29T15:06:37.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-01-12T07:33:52.000Z (over 2 years ago)
- Last Synced: 2025-06-09T04:04:25.191Z (about 1 year ago)
- Language: JavaScript
- Size: 210 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.