Hello,
I have dutifully searched the documentation, add-ins, and forums and have not found an answer to this question:
Is it possible to send a GET request to a web API and store the response (in JSON) in a an EViews object (most likely a string)? I don't expect EViews to parse the object...if I could just read it into a string, I can write my own parser.
wfopen(), import(), and read() have not been successful thus far.
Thank you,
-James
Reading in API JSON Response
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13317
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Reading in API JSON Response
No worries. To R, then!
-James
-James
Re: Reading in API JSON Response
GET request to a web API and store the response (in JSON) and parse it. Is this still possible in the latest version?. If so, please direct me to the documentation.
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Reading in API JSON Response
You might think about using the new Python to EViews interface for this job.
Re: Reading in API JSON Response
Thank you for the response. Can you provide me some tips on how can i get started?. Looking for more detail please.
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Reading in API JSON Response
EViews has a white paper on their website about hot to connect Python to EViews. The details of JSON are beyond me I'm afraid.
Who is online
Users browsing this forum: Google [Bot] and 18 guests