diff options
Diffstat (limited to 'freebase-README')
| -rw-r--r-- | freebase-README | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/freebase-README b/freebase-README deleted file mode 100644 index fce8b5b..0000000 --- a/freebase-README +++ /dev/null @@ -1,42 +0,0 @@ -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 - - When using freebase-python with Google AppEngine you will also need to - include the files in appengine_stubs with you AppEngine app. - -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 - |
