2023-07-09 16:53:29 -07:00
|
|
|
{
|
|
|
|
"info": {
|
2023-08-19 17:05:02 -07:00
|
|
|
"_postman_id": "7a1bba1d-9604-4e08-870d-e0a9e8b9bcd2",
|
2023-07-09 16:53:29 -07:00
|
|
|
"name": "JobSpy",
|
|
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
|
|
|
"_exporter_id": "24144392"
|
|
|
|
},
|
|
|
|
"item": [
|
|
|
|
{
|
|
|
|
"name": "Search Jobs",
|
|
|
|
"request": {
|
|
|
|
"auth": {
|
|
|
|
"type": "bearer",
|
|
|
|
"bearer": [
|
|
|
|
{
|
|
|
|
"key": "token",
|
|
|
|
"value": "{{access_token}}",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-08-19 17:05:02 -07:00
|
|
|
"method": "POST",
|
2023-07-09 16:53:29 -07:00
|
|
|
"header": [],
|
2023-08-19 17:05:02 -07:00
|
|
|
"body": {
|
|
|
|
"mode": "raw",
|
|
|
|
"raw": "{\r\n \"site_type\": \"linkedin\", // linkedin / indeed / zip_recruiter\r\n \"search_term\": \"engineer\",\r\n\r\n // optional\r\n \"location\": \"tx\",\r\n \"distance\": 10,\r\n \"job_type\": \"fulltime\", // fulltime, parttime, internship, contract\r\n // \"is_remote\": true,\r\n \"easy_apply\": true, // linkedin only\r\n \"results_wanted\": 10 \r\n}",
|
|
|
|
"options": {
|
|
|
|
"raw": {
|
|
|
|
"language": "json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-07-09 16:53:29 -07:00
|
|
|
"url": {
|
2023-08-19 17:05:02 -07:00
|
|
|
"raw": "http://127.0.0.1:8000/api/v1/jobs",
|
2023-07-09 16:53:29 -07:00
|
|
|
"protocol": "http",
|
|
|
|
"host": [
|
|
|
|
"127",
|
|
|
|
"0",
|
|
|
|
"0",
|
|
|
|
"1"
|
|
|
|
],
|
|
|
|
"port": "8000",
|
|
|
|
"path": [
|
|
|
|
"api",
|
|
|
|
"v1",
|
|
|
|
"jobs"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"response": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Health",
|
|
|
|
"request": {
|
|
|
|
"auth": {
|
|
|
|
"type": "bearer",
|
|
|
|
"bearer": [
|
|
|
|
{
|
|
|
|
"key": "token",
|
|
|
|
"value": "{{access_token}}",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"method": "GET",
|
|
|
|
"header": [],
|
|
|
|
"url": {
|
|
|
|
"raw": "http://127.0.0.1:8000/",
|
|
|
|
"protocol": "http",
|
|
|
|
"host": [
|
|
|
|
"127",
|
|
|
|
"0",
|
|
|
|
"0",
|
|
|
|
"1"
|
|
|
|
],
|
|
|
|
"port": "8000",
|
|
|
|
"path": [
|
|
|
|
""
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"response": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Token",
|
|
|
|
"event": [
|
|
|
|
{
|
|
|
|
"listen": "test",
|
|
|
|
"script": {
|
|
|
|
"exec": [
|
|
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
|
|
"postman.setEnvironmentVariable(\"access_token\", jsonData.access_token)"
|
|
|
|
],
|
|
|
|
"type": "text/javascript"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"header": [],
|
|
|
|
"body": {
|
|
|
|
"mode": "urlencoded",
|
|
|
|
"urlencoded": [
|
|
|
|
{
|
|
|
|
"key": "username",
|
|
|
|
"value": "cwatson",
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "password",
|
|
|
|
"value": "mypass",
|
|
|
|
"type": "text"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"raw": "http://127.0.0.1:8000/api/auth/token",
|
|
|
|
"protocol": "http",
|
|
|
|
"host": [
|
|
|
|
"127",
|
|
|
|
"0",
|
|
|
|
"0",
|
|
|
|
"1"
|
|
|
|
],
|
|
|
|
"port": "8000",
|
|
|
|
"path": [
|
|
|
|
"api",
|
|
|
|
"auth",
|
|
|
|
"token"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"response": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Register",
|
|
|
|
"event": [
|
|
|
|
{
|
|
|
|
"listen": "test",
|
|
|
|
"script": {
|
|
|
|
"exec": [
|
|
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
|
|
"postman.setEnvironmentVariable(\"access_token\", jsonData.access_token)"
|
|
|
|
],
|
|
|
|
"type": "text/javascript"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"request": {
|
|
|
|
"method": "POST",
|
|
|
|
"header": [],
|
|
|
|
"body": {
|
|
|
|
"mode": "raw",
|
2023-08-19 17:05:02 -07:00
|
|
|
"raw": "{\n \"username\": \"cwatson\",\n \"email\": \"cullen@cullen.ai\",\n \"password\": \"mypass\",\n \"full_name\": \"cullen watson\"\n}",
|
2023-07-09 16:53:29 -07:00
|
|
|
"options": {
|
|
|
|
"raw": {
|
|
|
|
"language": "json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"raw": "http://127.0.0.1:8000/api/auth/register",
|
|
|
|
"protocol": "http",
|
|
|
|
"host": [
|
|
|
|
"127",
|
|
|
|
"0",
|
|
|
|
"0",
|
|
|
|
"1"
|
|
|
|
],
|
|
|
|
"port": "8000",
|
|
|
|
"path": [
|
|
|
|
"api",
|
|
|
|
"auth",
|
|
|
|
"register"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"response": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|