Getting visitors for a specific URL

We are considering using Piwik for our web application, so many great features. I have a question that I cannot find an answer to after reviewing docs on API. Is it possible, using API, to get visitor count for a dynamic URL within a domain. For example:

If it is possible, can you point me in a right direction in docs / show example? Thanks

Yes, you can use:

in particular the function Actions.getPageUrl (pageUrl, idSite, period, date, segment = ‘’)

Can you tell me how to do this? I have been trying for a few hours to get a page counter and I don’t know how to fix it.
I have tried:

$url = 'index.php?video=1234';
$resulting = file_get_contents("$url&idSite=1&period=range&date=2013-04-05,today&format=php&token_auth=$token_auth");

But that doesn’t work… :frowning:

URL should be full URL + should be URL encoded