Dhamma.Gift Uposatha API

Календарь упосатх

Operations 1

GET /uposatha.ics Подписка на календарь упосатх (iCalendar для Google/Apple) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dhamma-gift:dhamma-gift-uposatha-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dhamma-gift-uposatha-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhamma.gift search Uposatha API
  version: 1.0.0
  description: Поиск по палийскому канону (Sutta/Vinaya) — API для dg-light.js. Все ответы — JSON.
servers:
- url: /
  description: Текущий сервер
tags:
- name: uposatha
  description: Календарь упосатх
paths:
  /uposatha.ics:
    get:
      tags:
      - uposatha
      summary: Подписка на календарь упосатх (iCalendar для Google/Apple)
      description: 'Без хранения: всё, что нужно ленте, — в адресе. Дни на 400 дней вперёд, напоминания; лента пересчитывается раз в час.'
      parameters:
      - name: tz
        in: query
        required: false
        description: Часовой пояс IANA
        schema:
          type: string
        example: Europe/Moscow
      - name: lang
        in: query
        required: false
        description: Язык событий
        schema:
          type: string
          enum:
          - en
          - ru
        example: ru
      - name: lat
        in: query
        required: false
        description: Широта (для рассвета и восхода луны)
        schema:
          type: number
        example: 55.75
      - name: lon
        in: query
        required: false
        description: Долгота
        schema:
          type: number
        example: 37.62
      - name: scheme
        in: query
        required: false
        description: sutta — по суттам (по умолчанию), modern — современный календарь
        schema:
          type: string
          enum:
          - sutta
          - modern
      - name: lead
        in: query
        required: false
        description: За сколько часов напоминать (0–72, по умолчанию 24)
        schema:
          type: integer
        example: 24
      - name: d8
        in: query
        required: false
        description: 'Дни 8-й луны: 0 — не включать'
        schema:
          type: string
          enum:
          - '0'
          - '1'
      - name: d14
        in: query
        required: false
        description: 'Дни 14-й луны: 0 — не включать'
        schema:
          type: string
          enum:
          - '0'
          - '1'
      - name: d15
        in: query
        required: false
        description: 'Дни 15-й луны: 1 — включать'
        schema:
          type: string
          enum:
          - '0'
          - '1'
      - name: day
        in: query
        required: false
        description: Второе напоминание в сам день, ЧЧММ
        schema:
          type: string
        example: '0600'
      - name: adv
        in: query
        required: false
        description: 'С day=: 0 — без напоминания заранее'
        schema:
          type: string
          enum:
          - '0'
          - '1'
      responses:
        '200':
          description: iCalendar
          content:
            text/calendar:
              schema:
                type: string
        '400':
          description: Неверный часовой пояс
      operationId: getUposathaIcs
      x-operation-id-source: derived