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 Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Reading in API JSON Response
Not easily.
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.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- 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.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- 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: No registered users and 2 guests
