This post/guide might be helpful, there are some other examples and libraries listed there: Getting started with the WoW API