doc: added example call for retrieving actual stats

Also aligned example code with described data structure: renamed 'example' to 'something'.
Merge pull request #625 from ArthurClemens/patch-5

doc: added example call for retrieving actual stats