com.careerjet.webservices.api
Class Client

java.lang.Object
  extended by com.careerjet.webservices.api.Client

public class Client
extends java.lang.Object


Constructor Summary
Client(java.lang.String locale)
           
 
Method Summary
 java.util.Map search(java.util.Map args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client(java.lang.String locale)
Parameters:
locale - POSIX locale that determines what Careerjet site to use, what language to return job-related information in and how to prioritize location lookups. For example, if your users are primarily Dutch-speaking Belgians, you should use "nl_BE". For a list of all available locales click here. If you use a non-existing locale, it will default to 'en_GB'.
Method Detail

search

public java.util.Map search(java.util.Map args)
Parameters:
args - Map that contains the search arguments in key/value form. All arguments have default values and are not mandatory.
 Available keys:
     affid        :   Affiliate identifier provided by Careerjet if you have a Careerjet partner account.
                      You can open a careerjet partner account here
                      Default: none

     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)
 


Copyright © 2010 Careerjet. All Rights Reserved.