API BOOK

I've never done API other than recording macros in SW, doesanyone know of a good Book or training for API??? any suggestionswill help, thank you.SolidworksApi macros