Multi-Family‎ > ‎Multi Family API‎ > ‎

5. Nearest Weather Method

nearest_weather()

This method returns a list of weather codes matching submitted criteria

Name Description Required Type Len
Options Min Max
user_key
3scale key for access to the API
Ystring 32   
postal_code USPS ZipCode Y string 6  
   
weather_type
Code for the weather data type
YString
  tmy3, amy
  
year
Year for weather data. Required if weather_type='amy'
N Int  2007
2013 *
number
Maximum number of weather codes to return. Default = 1
N Int   0 
range
Maximum distance in miles from Zipcode centroid. Default = 200
N Int   0 

Notes:
 * Additional years will be added as they become availble