- Action ID
actions.intent.GET_HOROSCOPE
- Description
- Get a horoscope by date of birth or sign.
- Example queries
- JSON-LD sample
-
[ { "exampleValues": [ { "@context": "https://schema.googleapis.org", "@type": "Horoscope", "category": "love", "inLanguage": { "identifier": "fr" }, "relatedAstrologicalSign": "https://m.wikidata.org/wiki/Q164272", "relatedAstrologicalSystem": "https://m.wikidata.org/wiki/Q1976204", "temporalCoverage": "2019-01-08T00:00:00/2019-01-08T23:59:59" } ], "name": "astrologySign", "schemaType": [ "https://schema.googleapis.org/Horoscope" ] }, { "exampleValues": [ { "@context": "https://schema.googleapis.org", "@type": "Horoscope", "category": "love", "inLanguage": { "identifier": "fr" }, "relatedAstrologicalSign": "https://m.wikidata.org/wiki/Q164272", "relatedAstrologicalSystem": "https://m.wikidata.org/wiki/Q1976204", "temporalCoverage": "2019-01-08T00:00:00/2019-01-08T23:59:59" } ], "name": "horoscope", "schemaType": [ "https://schema.googleapis.org/Horoscope" ] } ]
Get horoscope
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eactions.intent.GET_HOROSCOPE\u003c/code\u003e action enables users to retrieve horoscopes based on their date of birth or astrological sign.\u003c/p\u003e\n"],["\u003cp\u003eUsers can trigger this action with simple queries like "Get horoscope" or "What's today's horoscope for taurus?".\u003c/p\u003e\n"],["\u003cp\u003eThe action utilizes JSON-LD to represent horoscopic data, including details like category, language, related astrological sign, and temporal coverage.\u003c/p\u003e\n"]]],[],null,["# Get horoscope\n\nAction ID\n: `actions.intent.GET_HOROSCOPE`\n\nDescription\n: Get a horoscope by date of birth or sign.\n\nExample queries\n:\n\n #### en-US\n\n - Get horoscope.\n - What's today's horoscope for taurus?\n\nJSON-LD sample\n:\n\n ```carbon\n [\n {\n \"exampleValues\": [\n {\n \"@context\": \"https://schema.googleapis.org\",\n \"@type\": \"Horoscope\",\n \"category\": \"love\",\n \"inLanguage\": {\n \"identifier\": \"fr\"\n },\n \"relatedAstrologicalSign\": \"https://m.wikidata.org/wiki/Q164272\",\n \"relatedAstrologicalSystem\": \"https://m.wikidata.org/wiki/Q1976204\",\n \"temporalCoverage\": \"2019-01-08T00:00:00/2019-01-08T23:59:59\"\n }\n ],\n \"name\": \"astrologySign\",\n \"schemaType\": [\n \"https://schema.googleapis.org/Horoscope\"\n ]\n },\n {\n \"exampleValues\": [\n {\n \"@context\": \"https://schema.googleapis.org\",\n \"@type\": \"Horoscope\",\n \"category\": \"love\",\n \"inLanguage\": {\n \"identifier\": \"fr\"\n },\n \"relatedAstrologicalSign\": \"https://m.wikidata.org/wiki/Q164272\",\n \"relatedAstrologicalSystem\": \"https://m.wikidata.org/wiki/Q1976204\",\n \"temporalCoverage\": \"2019-01-08T00:00:00/2019-01-08T23:59:59\"\n }\n ],\n \"name\": \"horoscope\",\n \"schemaType\": [\n \"https://schema.googleapis.org/Horoscope\"\n ]\n }\n ]\n ```"]]