{"__v":0,"_id":"5845a4aa9f6fbb1b00430838","category":{"__v":0,"_id":"5845a4a89f6fbb1b004307be","project":"54d3007669578e0d002730c9","version":"5845a4a89f6fbb1b004307b7","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-30T07:08:52.789Z","from_sync":false,"order":6,"slug":"domains","title":"Domains (Deprecated)"},"parentDoc":null,"project":"54d3007669578e0d002730c9","user":"55bf6cdcad601c2b00762d13","version":{"__v":1,"_id":"5845a4a89f6fbb1b004307b7","project":"54d3007669578e0d002730c9","createdAt":"2016-12-05T17:32:24.708Z","releaseDate":"2016-12-05T17:32:24.708Z","categories":["5845a4a89f6fbb1b004307b8","5845a4a89f6fbb1b004307b9","5845a4a89f6fbb1b004307ba","5845a4a89f6fbb1b004307bb","5845a4a89f6fbb1b004307bc","5845a4a89f6fbb1b004307bd","5845a4a89f6fbb1b004307be","5845a4a89f6fbb1b004307bf","5845a4a89f6fbb1b004307c0"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"25.0.0","version":"25"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-09T02:44:14.442Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":31,"body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Domains are being deprecated\",\n  \"body\": \"Domains are being deprecated. If you're currently using domains, please consider using our new [Prebuilt Agents](https://docs.api.ai/docs/prebuilt-agents).\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"This domain is supported in the following languages:\\n* English\\n* French\\n* Italian\\n* Japanese\\n* Portuguese\\n* Russian\\n* Spanish\"\n}\n[/block]\n* [Weather: Search](#weather-search)\n* [Weather: Units](#weather-units)\n* [Weather: Service](#weather-service)\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Weather: Search\"\n}\n[/block]\n## Action\n\nName| Description  \n---|---  \nweather.search| Requests to search for weather reports  \n  \n## Data\n\nName| Parent| Data type| Required / Optional| Description| Request examples  \n---|---|---|---|---|---  \nrequest_type| _data_| string| optional| Defines the type of request. *See the list of available values*: [Request Type List](#section-request-type-list) | Weather in London. (request_type=explicit) <br> Is it raining outside? (request_type=condition)  \nlocation| _data_| string| optional| Defines the location.| Weather in London. (location=London)  \nlocation_between| _data_| list of objects| optional| Defines the weather between two locations.| Weather between London and Moscow. (location_between=[\\{location=London\\},\\{location=Moscow\\}])  \ncurrent_location| _data_| string| optional| Specifies that current location is requested. Available values: _true_| Weather here. (current_location=true)  \ncurrent_time| _data_| string| optional| Specifies that current moment is requested. Available values: _true_| Weather now. (current_time=true)  \ntime| _data_| string| optional| Defines the time.| Weather in London at 5. (time=[sti date])  \ntime_period| _data_| string| optional| Defines the time period.| Weather in London this evening. (time_period=[sti date])  \ndate| _data_| string| optional| Defines the date.| Weather in London tomorrow. (date=[sti date])  \ndate_period| _data_| string| optional| Defines the date period.| Weather in London this week. (date_period=[sti date])  \ncondition_temperature| _data_| string| optional| Defines the requested temperature. *See the list of available values*: [Condition Temperature List](#section-condition-temperature-list) | Is it cold outside? (condition_temperature=cold)  \ncondition_description| _data_| string| optional| Defines the requested condition. *See the list of available values*: [Condition Description List](#section-condition-description-list) | Is it raining outside? (condition_description=rain)  \noutfit| _data_| string| optional| Defines the requested outfit type. *See the list of available values*: [Condition Outfit List](#section-condition-outfit-list) | Should i take umbrella today? (outfit=rain)  \nactivity| _data_| string| optional| Defines the requested activity. *See the list of available values*: [Activity List](#section-activity-list) | Can i go climbing mt. Fuji next week? (activity=climbing) \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Weather: Units\"\n}\n[/block]\n## Action\n\nName| Description  \n---|---  \nweather.units| Requests to change default units  \n  \n## Data\n\nName| Parent| Data type| Required / Optional| Description| Request examples  \n---|---|---|---|---|---  \nunits| _data_| string| optional| Defines the units to be used by default. Available values: _Celsius_, _Fahrenheit_, _Kelvin_, _fc_ (if both Celsius and Fahrenheit is requested)| Tell weather in celsius. (units=celsius) <br> Use both Celsius and Fahrenheit for weather. (units = fc)  \nuse| _data_| string| optional| Defines the intent to use or not to use the unit. Can be_ true_ or _false._ | Tell weather in kelvin. (use=true) <br> Don't use fahrenheit in weather reports. (use=false) \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Weather: Service\"\n}\n[/block]\n## Action\n\nName| Description  \n---|---  \nweather.service| Requests to change default weather service  \n  \n## Data\n\nName| Parent| Data type| Required / Optional| Description| Request examples  \n---|---|---|---|---|---  \nservice_name| _data_| string| optional| Defines the service to be used by default. *See the list of available values*: [Service List](#section-service-list) | Use weather underground. (service_name=Weather Underground)  \nuse| _data_| string| optional| Defines the intent to use or not to use the service. Can be_ true_ or _false._  If not set, user did not specify what service to use.| Use weather underground. (use=true) <br> Do not use weather underground. (use=false) \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Reference\"\n}\n[/block]\n## Request Type List\nactivity  \ncondition  \nexplicit  \noutfit  \ntemperature\n\n## Condition Temperature List\n\ncold  \nhot  \nwarm\n\n## Condition Description List\n\nfog  \novercast  \nrain  \nsnow  \nstorm  \nsun  \nwind\n\n## Condition Outfit List\n\ncold  \nrain  \nsun\n\n## Activity List\n\nskydiving  \nkite flying  \nbungee jumping  \nfrisbee  \ncycling  \ncamping  \nclimbing  \nhiking  \nhorse riding  \njogging  \nrafting  \ncanoeing  \nkayaking  \ndiving  \nsurfing  \nkite surfing  \nwater skiing  \njet skiing  \nswimming  \nsailing  \nyachting  \nskating  \nskiing  \nsnow kiting  \nsnowboarding  \nsledding  \nsnowball fighting  \nice climbing  \nice diving\n\n## Service List\n\nAccuWeather  \nGisMeteo  \nWeather Channel  \nWeather Online  \nWeather Underground  \nWorld Weather Online","excerpt":"","slug":"weather","type":"basic","title":"Weather"}
[block:callout] { "type": "warning", "title": "Domains are being deprecated", "body": "Domains are being deprecated. If you're currently using domains, please consider using our new [Prebuilt Agents](https://docs.api.ai/docs/prebuilt-agents)." } [/block] [block:callout] { "type": "info", "body": "This domain is supported in the following languages:\n* English\n* French\n* Italian\n* Japanese\n* Portuguese\n* Russian\n* Spanish" } [/block] * [Weather: Search](#weather-search) * [Weather: Units](#weather-units) * [Weather: Service](#weather-service) [block:api-header] { "type": "basic", "title": "Weather: Search" } [/block] ## Action Name| Description ---|--- weather.search| Requests to search for weather reports ## Data Name| Parent| Data type| Required / Optional| Description| Request examples ---|---|---|---|---|--- request_type| _data_| string| optional| Defines the type of request. *See the list of available values*: [Request Type List](#section-request-type-list) | Weather in London. (request_type=explicit) <br> Is it raining outside? (request_type=condition) location| _data_| string| optional| Defines the location.| Weather in London. (location=London) location_between| _data_| list of objects| optional| Defines the weather between two locations.| Weather between London and Moscow. (location_between=[\{location=London\},\{location=Moscow\}]) current_location| _data_| string| optional| Specifies that current location is requested. Available values: _true_| Weather here. (current_location=true) current_time| _data_| string| optional| Specifies that current moment is requested. Available values: _true_| Weather now. (current_time=true) time| _data_| string| optional| Defines the time.| Weather in London at 5. (time=[sti date]) time_period| _data_| string| optional| Defines the time period.| Weather in London this evening. (time_period=[sti date]) date| _data_| string| optional| Defines the date.| Weather in London tomorrow. (date=[sti date]) date_period| _data_| string| optional| Defines the date period.| Weather in London this week. (date_period=[sti date]) condition_temperature| _data_| string| optional| Defines the requested temperature. *See the list of available values*: [Condition Temperature List](#section-condition-temperature-list) | Is it cold outside? (condition_temperature=cold) condition_description| _data_| string| optional| Defines the requested condition. *See the list of available values*: [Condition Description List](#section-condition-description-list) | Is it raining outside? (condition_description=rain) outfit| _data_| string| optional| Defines the requested outfit type. *See the list of available values*: [Condition Outfit List](#section-condition-outfit-list) | Should i take umbrella today? (outfit=rain) activity| _data_| string| optional| Defines the requested activity. *See the list of available values*: [Activity List](#section-activity-list) | Can i go climbing mt. Fuji next week? (activity=climbing) [block:api-header] { "type": "basic", "title": "Weather: Units" } [/block] ## Action Name| Description ---|--- weather.units| Requests to change default units ## Data Name| Parent| Data type| Required / Optional| Description| Request examples ---|---|---|---|---|--- units| _data_| string| optional| Defines the units to be used by default. Available values: _Celsius_, _Fahrenheit_, _Kelvin_, _fc_ (if both Celsius and Fahrenheit is requested)| Tell weather in celsius. (units=celsius) <br> Use both Celsius and Fahrenheit for weather. (units = fc) use| _data_| string| optional| Defines the intent to use or not to use the unit. Can be_ true_ or _false._ | Tell weather in kelvin. (use=true) <br> Don't use fahrenheit in weather reports. (use=false) [block:api-header] { "type": "basic", "title": "Weather: Service" } [/block] ## Action Name| Description ---|--- weather.service| Requests to change default weather service ## Data Name| Parent| Data type| Required / Optional| Description| Request examples ---|---|---|---|---|--- service_name| _data_| string| optional| Defines the service to be used by default. *See the list of available values*: [Service List](#section-service-list) | Use weather underground. (service_name=Weather Underground) use| _data_| string| optional| Defines the intent to use or not to use the service. Can be_ true_ or _false._  If not set, user did not specify what service to use.| Use weather underground. (use=true) <br> Do not use weather underground. (use=false) [block:api-header] { "type": "basic", "title": "Reference" } [/block] ## Request Type List activity condition explicit outfit temperature ## Condition Temperature List cold hot warm ## Condition Description List fog overcast rain snow storm sun wind ## Condition Outfit List cold rain sun ## Activity List skydiving kite flying bungee jumping frisbee cycling camping climbing hiking horse riding jogging rafting canoeing kayaking diving surfing kite surfing water skiing jet skiing swimming sailing yachting skating skiing snow kiting snowboarding sledding snowball fighting ice climbing ice diving ## Service List AccuWeather GisMeteo Weather Channel Weather Online Weather Underground World Weather Online