File size: 830 Bytes
b2d71fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import requests

url = "https://jobsearch.api.jobtechdev.se/search"

response = requests.get(url)

if response.status_code == 200:
    data = response.json()
    print(data)
else:
    print(f"Failed to retrieve data: {response.status_code}")
    
  
    
{
  "hits": [
    {
      "id": "1",
      "headline": "Data Scientist",
      "description": {"text": "We are looking for a data scientist to join our team.",
                      "text-formatted": "text_formatted"},
      "location": "Stockholm",
      "company": "Company A"
    },
    {
      "id": "2",
      "headline": "Software Engineer",
      "description": {"text": "We are looking for a data scientist to join our team.",
                      "text-formatted": "text_formatted"},
      "location": "Gothenburg",
      "company": "Company B"
    },
    ...
  ]
}