{"action":"opened","issue":{"url":"https://api.github.com/repos/recurly/recurly-client-php/issues/208","repository_url":"https://api.github.com/repos/recurly/recurly-client-php","labels_url":"https://api.github.com/repos/recurly/recurly-client-php/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/recurly/recurly-client-php/issues/208/comments","events_url":"https://api.github.com/repos/recurly/recurly-client-php/issues/208/events","html_url":"https://github.com/recurly/recurly-client-php/issues/208","id":137173706,"number":208,"title":"How to get \"cursor\" value to access \"next\" page and how to access nth page ?","user":{"login":"vishalmelmatti","id":1233269,"avatar_url":"https://avatars.githubusercontent.com/u/1233269?v=3","gravatar_id":"","url":"https://api.github.com/users/vishalmelmatti","html_url":"https://github.com/vishalmelmatti","followers_url":"https://api.github.com/users/vishalmelmatti/followers","following_url":"https://api.github.com/users/vishalmelmatti/following{/other_user}","gists_url":"https://api.github.com/users/vishalmelmatti/gists{/gist_id}","starred_url":"https://api.github.com/users/vishalmelmatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishalmelmatti/subscriptions","organizations_url":"https://api.github.com/users/vishalmelmatti/orgs","repos_url":"https://api.github.com/users/vishalmelmatti/repos","events_url":"https://api.github.com/users/vishalmelmatti/events{/privacy}","received_events_url":"https://api.github.com/users/vishalmelmatti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-29T07:31:22Z","updated_at":"2016-02-29T07:31:22Z","closed_at":null,"body":"Hi,\r\n\r\n$accountList = Recurly_AccountList::get($options);\r\n\r\nI am fetching first page of accounts list by passing parameter per_page=10. I am getting Recurly_AccountList object. \r\n\r\nAs per your documentation, to access next page there is cursor parameter with \"next\" link. \r\n\r\nI am trying to var_dump  $accountList->getLinks() but it gives me empty array. I know there are hundreds of active accounts.\r\n\r\n1 ) How do I get cursor value? I need to get this value so that I could be returned to my single page app which can in turn pass it to my backend \r\nto get next page. ?\r\n\r\n2) How do I get nth page ? lets say I want to access 7th page directly how should I access it ?\r\n\r\nThanks"}}