[Developers] How to I get the text for an article?

David Janes davidjanes at davidjanes.com
Sat Aug 2 20:40:39 UTC 2008


I'm playing with the Freebase API -- The Police examples -- and I'm
trying to get the text associated with a article. I.e. on this page:

http://www.freebase.com/view/en/the_police

I'm trying to get the text that says:

The Police are a three-piece rock band consisting of Sting (vocals,
bass guitar), Andy Summers (guitar, vocals) and Stewart Copeland
(drums, percussion, vocals). The band became globally popular in the
early 19 (etc...)

I'm guessing that I'm looking for the 'content' but when I run this query:

query = { 'type': '/music/artist',
         'name': band,
         'content' : None,
         'album': [{ 'name': None,
                     'release_date': None,
                     'sort': 'release_date' }]}

I get: Type /music/artist does not have property content

I'm sure I'm missing something fairly obvious here, but a little help
would be appreciated.

Thanks!

--
David Janes


More information about the Developers mailing list