/advent-calendar

Create your custom advent calendar to share with friends!

Primary LanguageJavaScript

Site screenshot

API Reference

Create new calendar:

POST to the /create endpoint

Returns JSON with .generatedId string.

Using this ID you can fetch general information and content of calendar with this ID

{
    "title": string,
    "author": string,
    "startDate": int,
    "daysDuration": int,
    "calendarCells":
    [
        {
            "number": int,
            "header": string,
            "text": string,
            "imageB64": string
        }
    ]
}

Get calendar general info:

GET from /calendar/data/id endpoint example

{
    "title": string,
    "author": string,
    "startDate": int,
    "daysDuration": int
}

Get calendar content:

GET from /calendar/images/id endpoint example

[
        {
            "number": int,
            "header": string,
            "text": string,
            "imageB64": string
        }
    ]

Possible names

"AdventDelights"
"DailyGiftCo"
"YourAdventCalendar"
"GiftOfTheDay"
"AdventGiftHQ"
"DailySurprises"
"AdventCalendarCo"
"YourGiftADay"
"AdventCalendarGuru"
"DailyDelights"
"AdventGiftCo"
"CountdownHQ"
"GiftGenie"
"GiftBoxx"
"UnwrapJoy"
"AdventTreats"
"SeasonalSurprises"
"CalendarCraze"
"HolidayHappenings"
"GiftADay"