[Tutor] getting and using information dict objects

Robert Sjoblom robert.sjoblom at gmail.com
Sun Feb 24 00:40:58 CET 2013

> I am fairly sure i am querying the FRED API, but i am unsure how to
> _access and use_ the dict objects that it is returning. For example,
> how would i just print out values?

If it's a dict object, the standard dictionary behavior and methods
should work. I've not looked closely at the FRED API, but something
like (untested):
for key in dictionary:
    print(key, dictionary[key])

could possibly get you started.

best regards,
Robert S.

More information about the Tutor mailing list