Piwik API calls tracker

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
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