Warcraftlogs API

Hello,

I was trying to start to use the API, but I am quite new to it
I was wondering if I could use it to retrieve lists of player names together with their parsing score, filtered by class and or spec.

I tried the -type Character schema and other similars, but I cant get it to work as I want

If anyone could point me out how can I do this, or show me some example code, I would greatly appreciate it!
Thanks!