Hello everyone
I'd like a few recomendations or tutorials of how to perform API calls from Matlab.
Thanks in advance

댓글 수: 10

Walter Roberson
Walter Roberson 2021년 11월 12일
Is this .NET API? Is this an ActiveX interface to Excel ? Is this a call to a C++ library? Is this a call into Python ?
Stelios Fanourakis
Stelios Fanourakis 2021년 11월 12일
I have used Python so far to obtain data from a server. The data are several thousands entries. Are kept as a dict. I may consider switch to Matlab as I am more familiar with the environment than Python. What's your suggestion?
Walter Roberson
Walter Roberson 2021년 11월 12일
What kind of server is this? Is it web pages? Is it a TCP client/server architecture?
Stelios Fanourakis
Stelios Fanourakis 2021년 11월 13일
Yes Walter, they are web pages. URL calling and inputQueries through STTP I guess
Jan
Jan 2021년 11월 13일
There are a lot of different APIs, which can be accessed over URLs. Please post more details.
Stelios Fanourakis
Stelios Fanourakis 2021년 11월 13일
What sort of details? It's a databse we call through a url link. We put input.Queries () to get data from the server relevant to different geographic locations.
Jan
Jan 2021년 11월 13일
And which API does this database use? There are thousands of different "APIs". This term means, that there is a defined interface for a communication. I do not see a chance to suggest a matching tutorial based only on the detail that it is a database which have an API.
Stelios Fanourakis
Stelios Fanourakis 2021년 11월 13일
I don't get you. Could you please share some examples of what you mean? It is a website, we have provided token keys from company and use them to retireve data. I don't know other information.
Jan
Jan 2021년 11월 13일
Sorry, no, i cannot share examples. "API" means "application programming interface" and the term is as general as "GUI". Therefore your question is far too general to be answered. It is your turn to find out the required details about which API it is.
It is not efficient to post 200 web pages for the most frequently used APIs.
"It is a website, we have provided token keys from company and use them to retireve data. I don't know other information."
If this is the really case, you have no chance to access the data. So either you find out more details or the problem cannot be solved.
Yongjian Feng
Yongjian Feng 2021년 11월 20일
Can you post a sample of your python code here? Then maybe we can figure out how to use matlab to do so?
In python, you use the requests lib to access your server?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2021년 11월 12일

댓글:

2021년 11월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by