Module Expr Str Import alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str TryExcept body Import alias handlers ExceptHandler type NameLoad body TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body TryExcept body ImportFrom alias handlers ExceptHandler body Raise Call NameLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq SubscriptLoad NameLoad Index Str Str body Return NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body If CompareEq SubscriptLoad NameLoad Index Str Num body Raise Call NameLoad Str orelse If CompareEq SubscriptLoad NameLoad Index Str Num body Raise Call NameLoad Str orelse Raise Call NameLoad Str orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A Pythentic Jobs - A small pure Python wrapper for the Authentic Jobs API (http://www.authenticjobs.com/) N/A urllib2 urlparse urlparse urllib2 HTTPError N/A __author__ Ryan McGrath <ryan@venodesigns.net> N/A __version__ 1.0 N/A N/A N/A simplejson N/A N/A N/A ImportError N/A N/A N/A N/A json simplejson N/A N/A N/A ImportError N/A N/A N/A django.utils simplejson N/A N/A N/A N/A N/A Exception pythentic_jobs requires the simplejson library (or Python 2.6) to work. http://www.undefined.org/python/ PythenticJobsError N/A Exception N/A __init__ N/A N/A self msg N/A N/A N/A N/A self msg msg N/A __str__ N/A N/A self N/A N/A N/A N/A repr N/A self msg N/A N/A pythentic N/A N/A __init__ N/A N/A self api_key N/A N/A N/A 	__init__()

			Instantiates an instance of Pythentic. Takes parameters for authentication and such (see below).

			Parameters:
				api_key: Your API key that authenticates you for requests against Authentic Jobs.
		 N/A N/A self base_url N/A http://www.authenticjobs.com/api/?api_key=%s&format=json api_key N/A checkResponse N/A N/A self resp N/A N/A N/A 	checkResponse(self, resp)
			
			Takes the returned JSON result from Authentic Jobs and checks it for odd errors, returning the response
			if everything checks out alright. There's only a few we actually have to check against; we dodge the others 
			by virtue of using a library.

			Parameters:
				resp: A JSON object returned from Authentic Jobs.
		 N/A N/A N/A resp N/A stat ok N/A N/A resp N/A N/A N/A N/A resp N/A stat fail N/A N/A N/A N/A resp N/A code 0 N/A N/A N/A PythenticJobsError The Authentic Jobs API is currently undergoing maintenance. Try again in a bit! N/A N/A N/A N/A resp N/A code 2 N/A N/A N/A PythenticJobsError It would seem that your API key is disabled. Have you been doing something you shouldn't have? ;) N/A N/A N/A PythenticJobsError There's something wrong with your API key; it can't be recognized. Check it, and try again. N/A N/A N/A PythenticJobsError Something went terribly wrong. Check all your calls and try again! N/A getCompanies N/A N/A self N/A N/A N/A 	getCompanies(self)

			Returns a list of companies that are currently advertising positions.

			Parameters:
				None
		 N/A companies N/A N/A simplejson load N/A N/A urllib2 urlopen N/A N/A self base_url &method=aj.jobs.getCompanies N/A N/A N/A self checkResponse companies N/A getLocations N/A N/A self N/A N/A N/A 	getLocations(self)

			Returns a list of locations for companies that are currently advertising positions.

			Parameters:
				None
		 N/A locations N/A N/A simplejson load N/A N/A urllib2 urlopen N/A N/A self base_url &method=aj.jobs.getLocations N/A N/A N/A self checkResponse locations N/A search N/A N/A self N/A kwargs N/A N/A 	search(self, **kwargs)

			Returns a list of current positions, filtered by optional parameters. The response is split into multiple pages, if necessary.

			Note: Pass all parameters as string arguments.

			Parameters:
				category: The id of a job category to limit to. See getJobCategories().
				type: The id of a job type to limit to. See getJobTypes().
				sort: Accepted values are: date-posted-desc (the default) and date-posted-asc.
				company: Free-text matching against company names. Suggested values are the ids from getCompanies().
				location: Free-text matching against company location names. Suggested values are the ids from getLocations().
				keywords: Keywords to look for in the title or description of the job posting. Separate multiple keywords with commas. Multiple keywords will be treated as an OR.
				page: The page of listings to return. Defaults to 1.
				perpage: The number of listings per page. The default value is 10. The maximum value is 100.
		 N/A search_url N/A N/A N/A self base_url &method=aj.jobs.search N/A N/A & join N/A N/A %s=%s N/A key value N/A N/A key value N/A N/A kwargs iteritems N/A results N/A N/A simplejson load N/A N/A urllib2 urlopen search_url N/A N/A N/A self checkResponse results N/A getJobTypes N/A N/A self N/A N/A N/A 	getJobTypes(self)

			Returns a list of available job types.

			Parameters:
				None
		 N/A retlist N/A N/A simplejson load N/A N/A urllib2 urlopen N/A N/A self base_url &method=aj.types.getList N/A N/A N/A self checkResponse retlist N/A getJobCategories N/A N/A self N/A N/A N/A 	getJobCategories(self)

			Returns a list of current job categories.

			Parameters:
				None
		 N/A retlist N/A N/A simplejson load N/A N/A urllib2 urlopen N/A N/A self base_url &method=aj.categories.getList N/A N/A N/A self checkResponse retlist N/A N/A