Converting a short Python code to a MATLAB code

Job ID: 32273119

Budget: $10 – $30 CAD

I have a short python code as follows:

import http.client
conn = http.client.HTTPSConnection("data3.nadpco.com")
payload = ' '
headers = {'Authorization': 'Bearer FC3D16B5997AF6'}
conn.request("GET", "/api/v3/TS/RealTimeTrades/5?date=14000903", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

When I run this code in python, an API is executed, and a response is received in a json format.
I want to perform this task in MATLAB. So, I need the equivalent of this code in MATLAB.
Related categories: JavaScript Python Web Scraping Freelancer API MATLAB