NREL / developer.nrel.gov

An issue tracker for NREL's APIs available at https://developer.nrel.gov
43 stars 39 forks source link

Address format for electricity rates unspecified in documentation #225

Closed NicholasFry closed 2 years ago

NicholasFry commented 2 years ago

Hi there. I noticed that the address format is unspecified in the alternative to lat/lon in the electricity rate documentation. Do you have an additional reference for passing this parameter?

https://developer.nrel.gov/docs/electricity/utility-rates-v3/

reger commented 2 years ago

Hi Nicholas,

Just "normal" address format, not sure how else to describe it.

<street address>, <city>, <state>, <postal code>

For example: https://developer.nrel.gov/api/utility_rates/v3.json?api_key=DEMO_KEY&address=15013%20Denver%20West%20Parkway%20Golden%20CO%2080401

You should be able to just pass in a postal code as well, or city and state, which would just use the centroid of the region.

Rob.

NicholasFry commented 2 years ago

Hi Rob,

Thanks for this. Sorry if the question/answer seems obvious. I am thinking about a little bit of error handling on a user interface. I appreciate the response.