DocoDoco

日本語

Weather data Option


Weather data option will output weather information associated with result of the judgement of user’s location. Weather forecast data will be updated 3 times a day (05:30, 11:30, and 17:30), temperature forecast data will be updated 2 times a day, and the current data of weather, temperature & humidity are updated every hour.
Data for ultraviolet forecast will be updated 2 times a day(6:00~18:00 "highest level forecast in a daytime", 18:00~6:00 "highest level forecast for the next day").
You can use this option as data to deliver the appropriate information based on weather forecast and the current weather condition for users who accesses web contents.
※the current data of weather, temperature & humidity is an estimated value. This value is calculated by gathering weather data related to AMeDAS, weather satellite, weather radar, and other meteorological factors.
※Colored cells are parameters added on Aug. 11, 2014.

JavaScript API

Request URL
http://api.docodoco.jp/v5/docodoco
Request tag
Please describe the following tag between <head> and </head>in HTML file. Regarding the issuance of an API key, please refer to the"How to use".
<script type="text/javascript" src="http://api.docodoco.jp/v5/docodoco?key=API key 1" charset="utf-8"></script>
JavaScript API + Weather data option Acquisition Function Table
In addition to the existing data acquisition function, the following functions are available.
Categories Function name Description Value
sample
Note
  SURFPOINT.getAreaWeatherUpdateTime() Weather information update time loading...  
Weather forecast SURFPOINT.getTodayWeather() Today’s weather(tonight’s weather) loading...  
SURFPOINT.getTomorrowWeather() Tomorrow’s weather loading...  
SURFPOINT.getDayAfterTomorrowWeather() Weather for the day after tomorrow loading... "-"will be output when there’s no information about weather for the day after tomorrow announced at 5.
SURFPOINT.getTodayWeatherCode() Today’s weather terop number loading...  
SURFPOINT.getTomorrowWeatherCode() Tomorrow’s weather terop number loading...  
SURFPOINT.getDayAfterTomorrowWeatherCode() Weather for the day after tomorrow Terop number loading... "-999"will be output as there’s no information about weather for the day after tomorrow announced at 5.
temperature forecast SURFPOINT.getForecastHighTemperature() Highest temperature forecast (℃) loading...  
SURFPOINT.getTodayHighTemperature() Today’s highest temperature(℃) loading... "-999"will be output as there’s no information about today’s highest temperature announced at 17
SURFPOINT.getTomorrowHighTemperature() Tomorrow’s highest temperature(℃) loading...  
SURFPOINT.getTomorrowLowTemperature() Tomorrow’s lowest temperature(℃) loading...  
SURFPOINT.getForecastHighTemperatureCode() Highest temperature forecast code loading...  
SURFPOINT.getTodayHighTemperatureCode() Today’s highest temperature code loading... "99"will be output when there’s no information about today’s highest temperature announced at 17
SURFPOINT.getTomorrowHighTemperatureCode() Tomorrow’s highest temperature code loading...  
SURFPOINT.getTomorrowLowTemperatureCode() Tomorrow’s lowest temperature code loading...  
Chance of rain SURFPOINT.getTodayRainProbability() Today’s chance of rain loading... Chance of rain’s value is by 10%
SURFPOINT.getTomorrowRainProbability() Tomorrow’s chance of rain loading... Chance of rain’s value is by 10%
Wind direction forecast SURFPOINT.getTodayWindDirection() Today’s wind direction(tonight’s wind direction) loading...  
SURFPOINT.getTomorrowWindDirection() Tomorrow’s wind direction loading...  
Current weather situation SURFPOINT.getPointWeatherUpdateTime() Update time loading...  
SURFPOINT.getWeather() Current weather loading... One of the followings: fair, cloudy, rain, snow
SURFPOINT.getWeatherCode() Current weather code number loading...  
SURFPOINT.getTemperature() Current temperature(℃) loading...  
SURFPOINT.getTemperatureCode() Current temperature code loading...  
SURFPOINT.getHumidity() Current humidity(%) loading...  
SURFPOINT.getRainfall() Current precipitation(mm/h) loading...  
Ultraviolet forecast SURFPOINT.getForecastUV() Today’s ultraviolet intensity forecast(tomorrow’s ultraviolet intensity forecast) loading... Value between 1~5
REST API

Request URL
http://api.docodoco.jp/v5/search
Request parameter

Name and value of parameter are case sensitive.
※If there is no specification of the parameter, it will be "a default value".

REST API table of Request Parameters
Parameter name Description Value default value
key1 API Key 1 alphanumeric characters required
key2 API Key 2 alphanumeric characters required
format Response format specification xml、json xml
charset Character code specification at the time of response jis、sjis、eucjp、utf8 utf8
ipadr IP address specification you want to test 0.0.0.0~255.255.255.255 IP address of the access source
 
REST API + weather data option Table of added return field
In addition to the existing field, the following fields are available. The child element (property) "Area" is under the element "Weather", and the following values are expanded as grand-child element.
Categories Name of element/Name of property description Value
sample
note
  WeatherUpdateTime Weather information update time loading...  
Weather forecast TodayWeather Today’s weather(tonight’s weather) loading...  
TomorrowWeather Tomorrow’s weather loading...  
DayAfterTomorrowWeather Weather for the day after tomorrow loading... "-"will be output as there’s no information about weather for the day after tomorrow announced at 5.
TodayWeatherCode Today’s weather terop number loading...  
TomorrowWeatherCode Tomorrow’s weather terop number loading...  
DayAfterTomorrowWeatherCode Weather for the day after tomorrow Terop number loading... "-999"will be output as there’s no information about weather for the day after tomorrow announced at 5
Temperature forecast ForecastHighTemperature Highest temperature forecast(℃) loading...  
TodayHighTemperature Today’s highest temperature(℃) loading... "-999"will be output as there’s no information about today’s highest temperature announced at 17
TomorrowHighTemperature Tomorrow’s highest temperature(℃) loading...  
TomorrowLowTemperature Tomorrow’s lowest temperature(℃) loading...  
ForecastHighTemperatureCode Highest temperature forecast code loading...  
TodayHighTemperatureCode Today’s highest temperature code loading... "99"will be output as there’s no information about today’s highest temperature announced at 17
TomorrowHighTemperatureCode Tomorrow’s highest temperature code loading...  
TomorrowLowTemperatureCode Tomorrow’s lowest temperature code loading...  
Chance of rain TodayRainProbability Today’s chance of rain (%) loading... Chance of rain’s value is by 10%
TomorrowRainProbability Tomorrow’s chance of rain (%) loading... Chance of rain’s value is by 10%
Wind direction forecast TodayWindDirection Today’s wind direction(tonight’s wind direction) loading...  
TomorrowWindDirection Tomorrow’s wind direction loading...  
Current weather situation PointWeatherUpdateTime Date of updating for Current weather loading...  
Weather Current weather loading... One of the followings: fair, cloudy, rain, snow
WeatherCode Current weather code number loading...  
Temperature Current temperature(℃) loading...  
TemperatureCode Current temperature code loading...  
Humidity Current humidity(%) loading...  
Rainfall Current precipitation(mm/h) loading...  
Ultraviolet forecast ForecastUV Today’s ultraviolet intensity forecast(tomorrow’s ultraviolet intensity forecast) loading... Value between 1~5

Reminder:
The following attributes of weather information will output a value indicating no information during certain time period.
Item name description Time period of no information value
DayAfterTomorrowWeather Weather for day after tomorrow 5:30 – 11:30 am -
(hyphen)
DayAfterTomorrowWeatherCode Weather for day after tomorrow Terop number 5:30 – 11:30 am -999
TodayHighTemperature Today’s highest temperature(℃) 11:30 pm – 5:30 am -999
TodayHighTemperatureCode Today’s highest temperature code 11:30 pm – 5:30 am 99

To customers who are interested in this service

The weather data will be provided as an option for customers of DocoDoco. (The monthly fee starts from 50,000 yen)
Please contact the followings for an inquiry and registration.

By email:

Inquiry

By telephone:

Cyber Area Research, Inc.
Tel:055-991-5544 Fax:055-991-5540

Page Top