The purpose of Notepad Library API is to access Notepad's functionality from another client application. It provides functions such as handling the memos, handling the templates, viewing and saving the text files.