summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authormjtnix <mjtnix@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2007-09-19 01:51:13 +0000
committermjtnix <mjtnix@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2007-09-19 01:51:13 +0000
commit5abc781c2b09db29e76fa2ebaea9461e4e477845 (patch)
tree038767549b51692a8237c0ed98e2be22cd20f004 /README
parenta4ad385a68926aa60c2b37fe1100de410558dda3 (diff)
remove extra trunk/ in directory path
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@3 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
Diffstat (limited to 'README')
-rw-r--r--README39
1 files changed, 39 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..5bf8bf2
--- /dev/null
+++ b/README
@@ -0,0 +1,39 @@
+description='Python client library for Freebase API service',
+maintainer_email='developers@freebase.com',
+url='http://www.freebase.com/',
+
+INSTALL:
+
+ /usr/bin/python setup.py install
+
+SYNOPSIS:
+
+ #!/usr/bin/python
+
+ from freebase.api import HTTPMetawebSession, MetawebError
+
+ mss = HTTPMetawebSession('www.freebase.com')
+
+ query = { 'type':'/music/artist',
+ 'name':'Sting',
+ 'album':[],
+ }
+
+ result = mss.mqlread(query)
+
+ for album in result.album:
+ print album
+TESTING:
+
+ cd test
+ /usr/bin/python test_all.py -v
+
+ test_login (__main__.TestFreebase) ... ok
+ test_read (__main__.TestFreebase) ... ok
+ test_write (__main__.TestFreebase) ... ok
+
+ ----------------------------------------------------------------------
+ Ran 3 tests in 0.691s
+
+ OK
+