Month
Weeks
API Api Keys

API

All request require a API Key. Check on API Key tab to grab one. The limit is 50 requests per hour, and if you need more feel free to contact us via email

Usage

Method: GET
Header: "x-api-key": [YOUR API KEY]
url:  http://api.broadcastmonth.com/v1/calendar?date=05-28-2017&format=m-d-Y&format_out=m-d-Y 
"date" is required and it's gregorian calendar date you want to convert to broadcast month
"format" is required the format of the inputed date
"format_out" is optional the format you want to recieve the data in
---
Result JSON format
---
{
    "month": [
        {
            "start": "05-01-2017",
            "end": "05-28-2017",
            "name": "May",
            "numeric": "5",
            "weeks": 4
        }
    ],
    "weeks": [
        {
            "1": {
                "start": "05-01-2017",
                "end": "05-07-2017"
            },
            "2": {
                "start": "05-08-2017",
                "end": "05-14-2017"
            },
            "3": {
                "start": "05-15-2017",
                "end": "05-21-2017"
            },
            "4": {
                "start": "05-22-2017",
                "end": "05-28-2017"
            }
        }
    ]
}

Login

Register