Recuperer des freelances par IDs
curl --request POST \
--url https://client-p.pylote.io/freelances \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"ids": [
"bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12",
"960a1c67-645d-4ac5-b8b2-875fb2f740d3"
]
}
'import requests
url = "https://client-p.pylote.io/freelances"
payload = { "ids": ["bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12", "960a1c67-645d-4ac5-b8b2-875fb2f740d3"] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ids: ['bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12', '960a1c67-645d-4ac5-b8b2-875fb2f740d3']
})
};
fetch('https://client-p.pylote.io/freelances', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://client-p.pylote.io/freelances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ids' => [
'bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12',
'960a1c67-645d-4ac5-b8b2-875fb2f740d3'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://client-p.pylote.io/freelances"
payload := strings.NewReader("{\n \"ids\": [\n \"bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12\",\n \"960a1c67-645d-4ac5-b8b2-875fb2f740d3\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://client-p.pylote.io/freelances")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"ids\": [\n \"bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12\",\n \"960a1c67-645d-4ac5-b8b2-875fb2f740d3\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-p.pylote.io/freelances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ids\": [\n \"bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12\",\n \"960a1c67-645d-4ac5-b8b2-875fb2f740d3\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"freelances": [
{
"basics": {
"name": "Jean Dupont",
"label": "Developpeur Full Stack",
"image": "",
"email": "dupont.j@freelance.pylote.io",
"phone": "",
"url": "https://hive.pylote.io/linkedin/ldp9kOK_xyz123/pk_client?t=dGVzdA",
"summary": "10 ans d'experience en dev web, specialise React et Node.js",
"location": {
"address": "Paris, France",
"postalCode": "75001",
"city": "Paris",
"countryCode": "FR",
"region": "Ile-de-France"
},
"profiles": [
{
"username": "<string>",
"network": "LinkedIn",
"url": "<string>"
}
]
},
"work": [
{
"name": "Capgemini",
"position": "Lead Developer",
"startDate": "2023-12-25",
"endDate": "2023-12-25",
"summary": "<string>"
}
],
"education": [
{
"institution": "Ecole 42",
"area": "<string>",
"studyType": "Master",
"startDate": "2023-12-25",
"endDate": "2023-12-25"
}
],
"certificates": [
{
"name": "AWS Solutions Architect",
"issuer": "Amazon Web Services",
"url": "<string>",
"startDate": "2023-12-25"
}
],
"skills": [
{
"name": "React",
"level": "Senior",
"keywords": [
"<string>"
]
}
],
"languages": [
{
"language": "Francais",
"fluency": "Langue maternelle"
}
],
"meta": {
"id": "ldp9kOK_xyz123",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"personalEmail": "<string>",
"firstName": "Jean",
"lastName": "Dupont",
"freelance": {
"available": true,
"availabilityDate": "<string>",
"rate": "450",
"professions": [
"Developpeur Back-End",
"DevOps"
],
"openToCdi": true,
"vehicle": true,
"preferences": {
"missionDuration": [
"3 a 6 mois",
"6 a 12 mois"
],
"remoteWork": [
"Hybride",
"Full remote"
],
"daysPerWeek": [
"4",
"5"
],
"workAreas": [
{
"code": "<string>",
"label": "<string>",
"cityZipCode": "75001",
"cityName": "Paris",
"departmentCode": "75",
"departmentName": "Paris",
"regionCode": "11",
"regionName": "Ile-de-France",
"countryCode": "FR",
"countryName": "France"
}
]
}
}
},
"volunteer": [
"<unknown>"
],
"awards": [
"<unknown>"
],
"publications": [
"<unknown>"
],
"interests": [
"<unknown>"
],
"references": [
"<unknown>"
],
"projects": [
"<unknown>"
]
}
],
"infos": {
"total": 1234,
"page": 1,
"limit": 50,
"totalPages": 25
}
}{
"error": "Validation failed",
"message": "\"modifiedTime\" is required"
}Freelances
Recuperer des freelances par IDs
Identique a GET /freelances mais permet de filtrer par une liste d’IDs specifiques.
Utile pour re-synchroniser un sous-ensemble de freelances apres avoir detecte des changements sur certains profils.
POST
/
freelances
Recuperer des freelances par IDs
curl --request POST \
--url https://client-p.pylote.io/freelances \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"ids": [
"bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12",
"960a1c67-645d-4ac5-b8b2-875fb2f740d3"
]
}
'import requests
url = "https://client-p.pylote.io/freelances"
payload = { "ids": ["bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12", "960a1c67-645d-4ac5-b8b2-875fb2f740d3"] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ids: ['bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12', '960a1c67-645d-4ac5-b8b2-875fb2f740d3']
})
};
fetch('https://client-p.pylote.io/freelances', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://client-p.pylote.io/freelances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ids' => [
'bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12',
'960a1c67-645d-4ac5-b8b2-875fb2f740d3'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://client-p.pylote.io/freelances"
payload := strings.NewReader("{\n \"ids\": [\n \"bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12\",\n \"960a1c67-645d-4ac5-b8b2-875fb2f740d3\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://client-p.pylote.io/freelances")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"ids\": [\n \"bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12\",\n \"960a1c67-645d-4ac5-b8b2-875fb2f740d3\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-p.pylote.io/freelances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ids\": [\n \"bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12\",\n \"960a1c67-645d-4ac5-b8b2-875fb2f740d3\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"freelances": [
{
"basics": {
"name": "Jean Dupont",
"label": "Developpeur Full Stack",
"image": "",
"email": "dupont.j@freelance.pylote.io",
"phone": "",
"url": "https://hive.pylote.io/linkedin/ldp9kOK_xyz123/pk_client?t=dGVzdA",
"summary": "10 ans d'experience en dev web, specialise React et Node.js",
"location": {
"address": "Paris, France",
"postalCode": "75001",
"city": "Paris",
"countryCode": "FR",
"region": "Ile-de-France"
},
"profiles": [
{
"username": "<string>",
"network": "LinkedIn",
"url": "<string>"
}
]
},
"work": [
{
"name": "Capgemini",
"position": "Lead Developer",
"startDate": "2023-12-25",
"endDate": "2023-12-25",
"summary": "<string>"
}
],
"education": [
{
"institution": "Ecole 42",
"area": "<string>",
"studyType": "Master",
"startDate": "2023-12-25",
"endDate": "2023-12-25"
}
],
"certificates": [
{
"name": "AWS Solutions Architect",
"issuer": "Amazon Web Services",
"url": "<string>",
"startDate": "2023-12-25"
}
],
"skills": [
{
"name": "React",
"level": "Senior",
"keywords": [
"<string>"
]
}
],
"languages": [
{
"language": "Francais",
"fluency": "Langue maternelle"
}
],
"meta": {
"id": "ldp9kOK_xyz123",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"personalEmail": "<string>",
"firstName": "Jean",
"lastName": "Dupont",
"freelance": {
"available": true,
"availabilityDate": "<string>",
"rate": "450",
"professions": [
"Developpeur Back-End",
"DevOps"
],
"openToCdi": true,
"vehicle": true,
"preferences": {
"missionDuration": [
"3 a 6 mois",
"6 a 12 mois"
],
"remoteWork": [
"Hybride",
"Full remote"
],
"daysPerWeek": [
"4",
"5"
],
"workAreas": [
{
"code": "<string>",
"label": "<string>",
"cityZipCode": "75001",
"cityName": "Paris",
"departmentCode": "75",
"departmentName": "Paris",
"regionCode": "11",
"regionName": "Ile-de-France",
"countryCode": "FR",
"countryName": "France"
}
]
}
}
},
"volunteer": [
"<unknown>"
],
"awards": [
"<unknown>"
],
"publications": [
"<unknown>"
],
"interests": [
"<unknown>"
],
"references": [
"<unknown>"
],
"projects": [
"<unknown>"
]
}
],
"infos": {
"total": 1234,
"page": 1,
"limit": 50,
"totalPages": 25
}
}{
"error": "Validation failed",
"message": "\"modifiedTime\" is required"
}Autorisations
Cle API fournie par Pylote. Inclure dans le header x-api-key de chaque requete.
Exemple : x-api-key: votre-cle-api
Paramètres de requête
Plage requise:
x >= 1Plage requise:
x <= 1000Corps
application/json
Liste d'IDs de freelances (meta.id) a recuperer
Exemple:
[
"bc1d49cf-1cc7-4afe-92aa-0ebd545fcd12",
"960a1c67-645d-4ac5-b8b2-875fb2f740d3"
]
⌘I