Piwik API calls tracker

hi,
I am very newbie to node.js and API things but i have to develop Restful API on server side.
I’m confused with how to use piwik API calls tracker in the link below
http://piwik.org/blog/2014/06/track-api-calls-node-js-piwik/
please someone tell me how can I test that I have tracked the api request any URL.
I am testing on localhost

sorry for my bad English