API via http request

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

amrsherif
Posts: 99
Joined: Mon Jul 23, 2018 4:34 pm

API via http request

Postby amrsherif » Thu Feb 07, 2019 10:57 am

Hi,

I'm trying to play around with APIs directly in eviews. This is my first time, but i looked around at other examples, although they seemed to be out of date (perhaps the syntax has changed since).

In any case, it's a simple request like so: https://www.quandl.com/api/v3/datasets/ ... _key=mykey

This works in my browser and in other programs (python, c# etc). However, i get a 'web server error' when i try this in eviews. The exact syntax is "import "https://www.quandl.com/api/v3/datasets/bcb/1/data.csv?api_key=mykey", and i have a workfile already created.

Any help in identifying what i'm missing would be appreciated. I generally prefer JSON but if eviews can only handle CSVs, that's fine.

Thank you

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 29 guests