Destiny AI Astrology: Birth Charts & Horoscopes

Destiny AI Astrology: Birth Charts & Horoscopes · GPT 작업

Astrology Data

Astrology Data API

  • POST /planetary_positions/planetary_positions_create

    Takes input as DOB/Time/Place and generate astrological attributes of planets and houses

  • POST /send_email/send_email_create

    Send an email with the specified content

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "Astrology Data",
    "description": "Astrology Data API",
    "termsOfService": "https://www.destinyaiastrology.com/terms-of-service/",
    "contact": {
      "email": "predictions@prabhukivaani.com"
    },
    "license": {
      "name": "MIT License"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://www.prabhukivaani.com/api",
      "description": "Production server"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization"
      }
    },
    "schemas": {
      "PlanetaryPositionsRequest": {
        "type": "object",
        "properties": {
          "date_of_birth": {
            "type": "string",
            "format": "date"
          },
          "time_of_birth": {
            "type": "string",
            "format": "time"
          },
          "city_of_birth": {
            "type": "string"
          },
          "current_city": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "format": "email",
            "nullable": true
          },
          "contact_no": {
            "type": "string",
            "nullable": true
          },
          "economy_mode": {
            "type": "boolean",
            "nullable": true
          },
          "specific_house": {
            "type": "integer",
            "nullable": true
          },
          "specific_planet": {
            "type": "string",
            "nullable": true
          },
          "all_houses": {
            "type": "boolean"
          },
          "all_planets": {
            "type": "boolean"
          },
          "include_dasha": {
            "type": "boolean"
          },
          "include_transit": {
            "type": "boolean"
          },
          "include_year_chart": {
            "type": "boolean"
          },
          "include_year_chart_transit": {
            "type": "boolean"
          },
          "include_birth_panchang": {
            "type": "boolean"
          },
          "include_prediction_date_panchang": {
            "type": "boolean"
          },
          "dasha_from_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "dasha_from_time": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "dasha_to_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "dasha_to_time": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "year_chart_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "specific_prediction_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "specific_prediction_time": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "transit_from_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "transit_from_time": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "transit_to_date": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "transit_to_time": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "current_latitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "current_longitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "birth_timezone": {
            "type": "string"
          },
          "current_timezone": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "nullable": true
          }
        },
        "required": [
          "date_of_birth",
          "time_of_birth",
          "city_of_birth",
          "latitude",
          "longitude",
          "birth_timezone",
          "email"
        ]
      },
      "EmailRequest": {
        "type": "object",
        "properties": {
          "to_email": {
            "type": "string",
            "format": "email"
          },
          "content": {
            "type": "string"
          }
        },
        "required": [
          "to_email",
          "content"
        ]
      }
    }
  },
  "paths": {
    "/planetary_positions/": {
      "post": {
        "operationId": "planetary_positions_create",
        "x-openai-isConsequential": false,
        "description": "Takes input as DOB/Time/Place and generate astrological attributes of planets and houses",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlanetaryPositionsRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful response with astrological details"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/send_email/": {
      "post": {
        "operationId": "send_email_create",
        "x-openai-isConsequential": false,
        "description": "Send an email with the specified content",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Email sent successfully"
          },
          "400": {
            "description": "Invalid input"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  }
}