where can i find aspell api documentation along with sample example.
Right here:
Writing programs to use ASpell, specifically the first section entitled "Through the C API".