Chinese: Zodiac & Feng Shui

Tong Shu date selection

Changed on

Walk a date range and return the days the almanac endorses for one activity, each with the officer that decided it. Optionally drop the days that clash a person's animal. Range capped at 366 days and a longer one is refused, not truncated.

post/chinese/tong-shu/select

Request

  • Base URL: https://api.astroway.info/v1
  • URL: https://api.astroway.info/v1/chinese/tong-shu/select
  • Auth: API key in header X-Api-Key

Query parameters

fieldsstring

Comma-separated dotted paths, relative to data, to keep in the response. A path is applied to every element of an array, so planets.name means the name of each planet. Paths that match nothing come back in _fields_unmatched; a list where nothing matches at all is a 400, because an empty object would be a confident wrong answer.

precisioninteger

Round every non-integer number in the response to this many decimal places. Integers are left alone, because an id is not a measurement. Ecliptic longitudes ship with fourteen decimals by default; 2 is about a tenth of an arcminute.

Request body

fromstring required
tostring required
activity'marriage' | 'opening' | 'moving' | 'travel' | 'contract' | 'construction' | 'demolition' | 'medical' | 'funeral' | 'education' required
avoidClashWithstring
includeNeutralboolean
languagestring

Response

Successful calculation

okboolean

Example response

{
  "ok": true
}

Changes