close

  
<div><h1>Language Libraries</h1>
<p>
  The Freebase community has created client libraries for Python, JavaScript, Ruby and more.
</p>

<h2><a href="http://www.python.org/">Python</a></h2>

<dl><dt>
    <strong>freebase-python</strong>
    <small><a href="http://code.google.com/p/freebase-python/">http://code.google.com/p/freebase-python/</a></small>    
  </dt>
  <dd>
    This library provides a python interface to the Freebase API available via HTTP web services. It also includes command-line utilities and APIs for creating, dumping, and reloading types and properties.
  </dd>
</dl><h2><a href="http://en.wikipedia.org/wiki/JavaScript">Javascript</a></h2>

<dl><dt><strong>mjt</strong>
    <small><a href="http://www.mjtemplate.org/">http://www.mjtemplate.org/doc/freebaseapi.html</a></small>
  </dt>
  <dd>
    Mjt (pronounced 'midget') is a Javascript application framework that includes wrappers for Freebase API services as well as other useful pieces for building browser-side Freebase applications.
  </dd>
</dl><h2><a href="http://www.ruby-lang.org/en/">Ruby</a></h2>

<dl><dt><strong>Ken</strong>
    <small><a href="http://github.com/michael/ken/">http://github.com/michael/ken/</a></small></dt>
  <dd>
    A Ruby API for accessing Freebase. It wraps the Metaweb Architecture to smart Ruby Objects.
  </dd>
</dl><dl><dt><strong>freebase</strong>
<small><a href="http://github.com/chriseppstein/freebase/">http://github.com/chriseppstein/freebase/</a></small></dt>
  <dd>
    <a href="http://www.freebase.com/view/user/chriseppstein">Chris Eppstein</a>'s Ruby API for Freebase.com
  </dd>
</dl><h2><a href="http://www.perl.org/">Perl</a></h2>

<dl><dt><strong>Metaweb</strong>
<small><a href="http://search.cpan.org/dist/Metaweb/">http://search.cpan.org/dist/Metaweb/</a></small></dt>
  <dd>
    Perl interface to the Metaweb/Freebase API
  </dd>
</dl><dl><dt><strong>New Metaweb</strong>
  <small><a href="http://www.shadowmagic.org.uk/Metaweb.tar.gz">http://www.shadowmagic.org.uk/Metaweb.tar.gz</a></small></dt>
  <dd>
    Updated version of the Metaweb module from <a href="http://www.freebase.com/view/user/pak21">Philip Kendall</a>
  </dd>
</dl><dl><dt><strong>WWW-Metaweb</strong>
<small><a href="http://search.cpan.org/dist/WWW-Metaweb/">http://search.cpan.org/dist/WWW-Metaweb/</a></small></dt>
  <dd>
    An interface to the Metaweb database via MQL
  </dd>
</dl><h2><a href="http://www.php.net/">PHP</a></h2>

<dl><dt><strong>metaweb.php</strong>
<small><a href="http://freebaseapps.com/docs/mql/ch04.html#metaweb.php">http://freebaseapps.com/docs/mql/ch04.html#metaweb.php</a></small></dt>
  <dd>
    An example PHP class that defines a read() method for invoking the Metaweb mqlread service on api.freebase.com, parsing the response to a PHP array.
  </dd>
</dl><h2><a href="http://www.microsoft.com/NET/">.NET</a></h2>

<dl><dt><strong>freebase-dotnet</strong>
    <small><a href="http://code.google.com/p/freebase-dotnet/">http://code.google.com/p/freebase-dotnet/</a></small></dt>
  <dd>
      From user <a href="http://www.freebase.com/view/user/sprocketonline">Iain Sproat</a>, "MQLwrite calls are broken, 
      but MQLread is just fine - there's even a sweet fluent interface and 
      the beginnings of a LINQ interface."
  </dd>
</dl><h2><a href="http://clojure.org/">Clojure</a></h2>

<dl><dt><strong>clj-mql</strong>
    <small><a href="http://github.com/rnewman/clj-mql/tree/master">http://github.com/rnewman/clj-mql/tree/master</a></small></dt>
  <dd>
      From user <a href="http://www.freebase.com/view/user/rnewman">Richard Newman</a>, "This is  
an early-days Clojure client for Freebase. It currently allows you to issue unauthenticated version, status,  
read, search, and reconcile requests, and to issue write requests  
within the scope of a login. Logins and writes are performed over  
HTTPS by default. Input and output are Clojure datastructures, representing MQL queries.  
The README (and the enclosed restaurant search app) offer some good examples."
  </dd>
</dl></div>

Comments

Hide