Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
Convert an JSON document to a WORK object

WORK is documented here:
http://code.davidjanes.com/blog/2008/11/11/work-web-object-records/

src/n/e/newscredit_api-HEAD/locallibs/aump/api_download.py   newscredit_api(Download)
class JSON(Downloaders):
	_convert2work = bm_work.JSON2WORK()
	_item_path = ""
 
	def __init__(self, **ad):

src/n/e/newscredit_api-HEAD/locallibs/aump/api_postrank.py   newscredit_api(Download)
class UserInformation(bm_api.APIReader):
	_uri_base = "http://www.postrank.com/user/info.json"
	_convert2work = bm_work.JSON2WORK()
	_item_path = ""
 

src/n/e/newscredit_api-HEAD/locallibs/aump/api_google.py   newscredit_api(Download)
	_item_path = "responseData.results"
	_meta_path = "responseData.cursor"
	_convert2work = bm_work.JSON2WORK()
	_required_attributes = [ "q" ]
	_page_max = -1

src/n/e/newscredit_api-HEAD/locallibs/aump/api_fireeagle.py   newscredit_api(Download)
class User(bm_api.APIReader):
	_uri_base = 'https://fireeagle.yahooapis.com/api/0.1/user.json?format=json'
	_convert2work = bm_work.JSON2WORK()
	_item_path = "user.location_hierarchy"
	_atom_item = {

src/n/e/newscredit_api-HEAD/locallibs/aump/api_bitly.py   newscredit_api(Download)
		"format" : "json",
	}
	_convert2work = bm_work.JSON2WORK()
	_item_path = ""
	_required_attributes = [ "longUrl", ]