Clerk Api

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

Hotel

Shows the hotel basic information, such as owner, address, etc.

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

Format

jSON

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

XML

https://api.clerk.im/hotel.xml
Parameters
api_key RequiredYour Clerk API Key

Example

URL

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

Response

{

    -
    rsp: {
        -
        status: {
            msg: "OK"
            code: 200
        }
        -
        hotel: {
            city: "Viña del Mar"
            name: "Clerk"
            updated_at: "2010-07-12T00:00:00Z"
            timezone: "Santiago"
            domain: "https://example.clerk.im"
            url: "www.clerkhotel.com"
            logo: https://example.clerk.im/images/logos/logo_1.jpg
            id: "7"
            phone: "+56-32-000000"
            fax: "+56-32-000000"
            address: "Internet"
            created_at: "2010-07-12T00:00:00Z"
            email: "info@clerk.im"
        }
    }

}