I am using Matlab to retrieve data. The code below is what is have (filename is opensky.m) and it is returning the error below the code. opensky does generate the data when logging into the website and entering the URL directly in the browser. Any thoughts on what I am missing?
creds = matlab.net.http.Credentials('Username','myusername','Password','mypassword');
opts = matlab.net.http.HTTPOptions('Credentials',creds);
M = webread('
opensky-network.org/api/states/all','lam...',48,'lomax',11,opts);
Error using webread (line 119)
Each queryName must be given a corresponding queryValue.
Error in opensky (line 14)
M = webread('
opensky-network.org/api/states/all','lam...',48,'lomax',11,opts);