Hi all,
I'm trying to download some data from the Energy Information Administration with my API. This url: monthly electricity generation has a dataset I'd like to use for some research.
If you follow the example they have: http://api.eia.gov/series/?api_key=YOUR_...LL-CA-99.M and insert the API KEY they have given me, I don't get any download or response in my IPYTHON shell. It's just blank.
Thanks for any help,
I'm trying to download some data from the Energy Information Administration with my API. This url: monthly electricity generation has a dataset I'd like to use for some research.
If you follow the example they have: http://api.eia.gov/series/?api_key=YOUR_...LL-CA-99.M and insert the API KEY they have given me, I don't get any download or response in my IPYTHON shell. It's just blank.
import requests In [2]: response=requests.get("http://api.eia.gov/series/?api_key=YOUR_API_KEY_HERE&series_id=ELEC.GEN.ALL-CA-99.M")Operator error? Like I said it's blank.
Thanks for any help,
"Human history becomes more and more a race between education and catastrophe." - H. G. Wells (1866-1946)