Returns opening hours of the museum. If you find the method return a little heavy-handed, try the HTML response format, which formats the response in a compact, readable form.
Inherited Arguments
api_key(Required)- Your personal API Key.
version(Required)- The API version you want to use. Integer. Valid values: 1.
format(Optional)- The response format. Valid values: xml, json, html, cdwalite, dublincore. Default xml.
include_html_style_block(Optional)- Only applies to requests where format is html. Specifies whether or not to include a standard STYLE block with returned HTML content. The STYLE block dresses up the otherwise drab HTML. If you prefer to style the returned HTML yourself set this parameter to false. Boolean. Default True.
Response
A successful invocation of Visit.getHours returns a RESPONSE envelope and a single HOURS element.
Example
Try changing the values below to modify the service URL. Click "Call" to see the result.


Eastern Parkway/Brooklyn Museum