抱歉,發生錯誤,伺服器暫時無法處理您的請求。 幾分鐘後再試一次。
转到主页 开始 集成例子 测试 API

开始使用Jooble REST API

加入Jooble帮助雇主和求职者在网上找到彼此。

REST API允许开发人员访问和集成Jooble在网络产品内的搜索结果或建造一个全新的自己的网络产品。

我如何开始?

填写下面的表格来请求Jooble REST API秘钥。填写表格,您将收到一个唯一的API秘钥。您将需要这个秘钥使用我们的API。

我们很高兴与你合作。

名字*
标题*
网站*
电话*
Email*

感谢您的合作。

转到主 页

集成例子

为了您的方便,我们支持多种格式。如果有疑问,请咨询您的开发人员。

支持的格式

JSON
C# (.NET 4 or later)
Javascript
Php
Python 2.7
Python 3.5
Ruby

发送HTTP POST至https://cn.jooble.org/api/<API KEY>以使用REST API

JSON 请求示例:
{
		"keywords": "account manager",
		"location": "London",
		"radius": "40",
		"salary": "50000",
		"page": "1"
 }

请求字段描述
keywords - (必填)- 搜索关键词
location - 位置
radius - 距离 (0, 8, 16, 24, 40) 公里
salary - 工资幅度 8500 - 50000 (元)
page - 页码
searchMode - 工作清單顯示模式
1 - 推薦工作清單 + *JDP(Jooble 工作描述模式提供更好的使用者體驗)
2 - 推薦工作清單
3 - 所有工作清單(不推薦)

JSON 响应示例:
{
	"totalCount":651,

	"jobs": [
		"job": {
			"title": "Account manager",
			"location": "London",
			"snippet": "... are looking for account manager in London, greate opportunity to ...",
			"salary": "50000 元",
			"source": "barclays.co.uk",
"type": "任何",
			"link": "https://cn.jooble.org/away/...",
			"company": "Jooble",
			"id": 8240559805230395300,
			"updated": "2016-05-26T10:51:51.4720673+03:00"
		},
		"job": ...
	]
}

响应字段
totalCount - 结果总数

"job":结构
title - 职称
location - 位置
snippet - 提取
salary - 工资
source - 工作来源
type - 工作类型 (任何, 全职, 临时, 兼职, 实习, null)
link - URL
updated - 工作发布日期(ISO 8601 格式)

响应传回可用的搜索结果总数。搜索结果限制为每页 20 份工作。
var url = "https://cn.jooble.org/api/";
var key = "<YOUR_API_KEY>";

//create request object
WebRequest request = HttpWebRequest.Create(url + key);
//set http method
request.Method = "POST";
//set content type
request.ContentType = "application/json";
//create request writer
var writer = new StreamWriter(request.GetRequestStream());
//write request body
writer.Write("{ keywords: 'it', location: 'Bern'}");
//close writer
writer.Close();
//get response reader
var response = request.GetResponse();
var reader = new StreamReader(response.GetResponseStream());
//read response
while (!reader.EndOfStream)
{
    Console.WriteLine(reader.ReadLine());
}    
var url = "https://cn.jooble.org/api/";
var key = "<YOUR_API_KEY>";
var params = "{ keywords: 'it', location: 'Bern'}"

//create xmlHttpRequest object
var http = new XMLHttpRequest();
//open connection. true - asynchronous, false - synchronous
http.open("POST", url + key, true);

//Send the proper header information
http.setRequestHeader("Content-type", "application/json");
	
//Callback when the state changes
http.onreadystatechange = function() {
	if(http.readyState == 4 && http.status == 200) {
		alert(http.responseText);
	}
}
//Send request to the server
http.send(params);
<?php
$url = "https://cn.jooble.org/api/";
$key = "<YOUR_API_KEY>";

//create request object
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url."".$key);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, '{ "keywords": "it", "location": "Bern"}');
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));

// receive server response ...
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$server_output = curl_exec ($ch);
curl_close ($ch);

//print response
print_r($server_output);

?>
import httplib

host = 'cn.jooble.org'
key = '<YOUR_API_KEY>'

connection = httplib.HTTPConnection(host)
#request headers
headers = {"Content-type": "application/json"}
#json query
body = '{ "keywords": "it", "location": "Bern"}'
connection.request('POST','/api/' + key, body, headers)
response = connection.getresponse()
print(response.status, response.reason)
print(response.read())
import http.client

host = 'cn.jooble.org'
key = '<YOUR_API_KEY>'

connection = http.client.HTTPConnection(host)
#request headers
headers = {"Content-type": "application/json"}
#json query
body = '{ "keywords": "it", "location": "Bern"}'
connection.request('POST','/api/' + key, body, headers)
response = connection.getresponse()
print(response.status, response.reason)
print(response.read())
require 'net/http'
url = 'https://cn.jooble.org/api/'
key = '<YOUR_API_KEY>'
#create uri for request
uri = URI.parse(url + key)
#prepare post data
post_args = { 'keywords': 'it', 'location': 'Bern'}
#send request to the server
http = Net::HTTP.new(uri.host, uri.port)
#for https
http.use_ssl = true
request = Net::HTTP::Post.new(uri.request_uri, 'Content-Type' => 'application/json')
request.body = post_args.to_json
#send request to the server
response = http.request(request)