public class Client
extends java.lang.Object
public Client(java.lang.String locale)
locale
- POSIX locale that determines which Careerjet site to use. Each locale corresponds to an existing Careerjet site and determines which language job-related information is returned as well as which default location filter is used.public Client()
public java.util.Map search(java.util.Map args)
args
- Map that contains the search arguments in key/value form.
Mandatory keys: affid : Affiliate identifier provided by Careerjet if you have a Careerjet partner account. You can open a careerjet partner account here Default: none user_ip : IP address of the end-user to whom the search results will be displayed user_agent : User agent of the end-user's browser url : URL of page that will display the search results Available keys: All arguments below have default values and are not mandatory keywords : Keywords to match either title, content or company name of job offer Examples: 'perl developer', 'ibm', 'software architect' Default : none location : Location of requested job postings. Examples: 'London' , 'Yorkshire', 'France' Default: country specified by country code location_id : Location ID. Use values comming from the search function when location is ambiguous. Default: none sort : Type of sort. This can be: 'relevance' - sorted by decreasing relevancy (default) 'date' - sorted by decreasing date 'salary' - sorted by decreasing salary start_num : Position of returned job postings within the entire result space. This should be a least 1 but not more than the total number of job offers. Default : 1 pagesize : Number of returned results Default : 20 page : Page number of returned job postings within the entire result space. This can be used instead of start_num. The minimum page number is 1. The maximum number of pages is given by $result->{'pages'} If this value is set, it overrides start_num. contracttype : Selected contract type. The following codes can be used: 'p' - permanent 'c' - contract 't' - temporary 'i' - training 'v' - voluntary Default: none (all contract types) contractperiod : Selected contract period. The following codes can be used: 'f' - full time 'p' - part time Default: none (all contract periods) This is an example result: { "hits":720, "jobs": [{ "site": "www.tecnoempleo.com", "salary_type": "Y", "title": "Programadores Senior .NET, Java o PHP,Spain", "locations": "Espaņa", "description": "Programadores Senior .NET, Java o PHPen Repubblika ta' Malta Importante Consultora Tecnologica situada en Malta... mas requeridos son: Programadores Senior .Net Programadores Senior Java Programadores Senior PHP Tambien requerimos otro tipo...", "company": "Castille Resources", "salary_currency_code": "EUR", "salary": "€24000 - 36000 per year", "salary_min": "24000", "salary_max": "36000", "date": "Fri, 15 May 2015 08:41:59 GMT", "url": "http://jobviewtrack.com/es-es/job-181c415d45144f044602416106041a4716451a010601285b4f424a160e0346104f110d124e0d0456156a07165e0b574c5b056d044602414306041a47154804695a47121808/1bef8a66b450436bea985c8725f4da65.html?affid=213e213hd12344552" }, { "site":"www.monster.co.uk", ... }], "response_time":0.0558638572692871, "pages":36, "type":"JOBS" }
Copyright © 2015 Careerjet. All Rights Reserved.