Skip to content

Instantly share code, notes, and snippets.

@markkendall
markkendall / gist:2400607
Created April 16, 2012 18:42
catinspect.com Dealer API

Inspection Forms Dealer API

This API allows dealers to pull their 30 most recently completed inspections from catinspect.com, in either XML or JSON format. Access to the API is secured with a dealer-specific token that must be generated by a dealer admin. This document describes how to generate that token, make the API request, and interpret the results.

Generating a Token

Any dealer admin who is logged on to catinspect.com can generate the unique token for his dealer. Choose the Settings option from the toolbar at the top right and you'll see an area on your settings page labeled API Key. Initially, its contents will be empty. Click the Generate button to generate a key. You'll see it displayed next to the button.

Once your key has been generated, you can change it at any time by clicking Regenerate or remove it completely by clicking Delete. Keep in mind that changing or deleting the key takes effect immediately, and your old key will stop working.

@markkendall
markkendall / ichat-growl.scpt
Created February 16, 2012 15:03
iChat / Messages integration for Growl 1.3
-- growl notifications for iChat, based on
-- http://scriptingosx.com/2010/11/ichat-notification-with-growl/
property growlAppName : "Growl iChat"
property notificationNames : {"Buddy Became Available", ¬
"Buddy Became Unavailable", ¬
"Message Received", ¬
"Completed File Transfer"}
property defaultNotificationNames : {"Buddy Became Available", ¬