Pulling GDP time series for country

Hi,

I was wondering how I could pull the time series for, say, GDP of a country using the python API. Suppose I have the code, aCAXGDP/CA, for GDP. What function should I use and how should I use it?

I've tried getdata, except I'm not sure what the field would be called (it's not really a price?)

I've tried get timeseries, but it seems to accept the GDP code?

Thanks

Best Answer