Clerk API

Clerk data API allows a program to perform many of the operations offered in a Clerk hotel account.

Statistics

Shows the daily hotel statistics.

https://api.clerk.im/statistics.{format}

Format

jSON

https://api.clerk.im/statistics.json

XML

https://api.clerk.im/statistics.xml
Parameters
api_key Required Your Clerk API Key

Example

URL

https://api.clerk.im/statistics.json?api_key=xxx

Response

{

    -
    rsp: {
        -
        status: {
            msg: "OK"
            code: 200
        }
        -
        statistics: {
            -
            approximate_sells: [
                -
                {
                    price: "14.000.219"
                    round: true
                    currency: "CLP"
                }
                -
                {
                    price: "2374.10"
                    round: false
                    currency: "USD"
                }
            ]
            rooms_pending_checkin: 10
            rooms_sells: 80
            rooms_maintenance: 4
            rooms_checkout: 20
            rooms_total: 130
        }
    }

}