{"action":"created","issue":{"url":"https://api.github.com/repos/pacely/mailchimp-api-v3/issues/5","labels_url":"https://api.github.com/repos/pacely/mailchimp-api-v3/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/pacely/mailchimp-api-v3/issues/5/comments","events_url":"https://api.github.com/repos/pacely/mailchimp-api-v3/issues/5/events","html_url":"https://github.com/pacely/mailchimp-api-v3/issues/5","id":93750618,"number":5,"title":"Pagination does not work on Campaigns","user":{"login":"guerriky","id":6804582,"avatar_url":"https://avatars.githubusercontent.com/u/6804582?v=3","gravatar_id":"","url":"https://api.github.com/users/guerriky","html_url":"https://github.com/guerriky","followers_url":"https://api.github.com/users/guerriky/followers","following_url":"https://api.github.com/users/guerriky/following{/other_user}","gists_url":"https://api.github.com/users/guerriky/gists{/gist_id}","starred_url":"https://api.github.com/users/guerriky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guerriky/subscriptions","organizations_url":"https://api.github.com/users/guerriky/orgs","repos_url":"https://api.github.com/users/guerriky/repos","events_url":"https://api.github.com/users/guerriky/events{/privacy}","received_events_url":"https://api.github.com/users/guerriky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-08T09:52:24Z","updated_at":"2015-07-08T13:20:35Z","closed_at":null,"body":"Hi,\r\nI'm starting to use your package, and the first thing I noticed was that Campaigns (I've yet to try with lists) don't care if I use pagination.\r\n\r\nMy call looks like this:\r\n\r\n    $res = $mc->get('/campaigns/',array(\r\n        'fields' => 'campaigns.id,campaigns.name',\r\n        'offset' => 10,\r\n        'count' => 20\r\n    ));\r\n\r\nBut it always return the firts 10 elements.\r\n\r\nAm I doing something wrong? \r\nThe same operations work perfectly with subscribers management.\r\n\r\nTIA,\r\nRiccardo"},"comment":{"url":"https://api.github.com/repos/pacely/mailchimp-api-v3/issues/comments/119576149","html_url":"https://github.com/pacely/mailchimp-api-v3/issues/5#issuecomment-119576149","issue_url":"https://api.github.com/repos/pacely/mailchimp-api-v3/issues/5","id":119576149,"user":{"login":"ChrisRM","id":309292,"avatar_url":"https://avatars.githubusercontent.com/u/309292?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisRM","html_url":"https://github.com/ChrisRM","followers_url":"https://api.github.com/users/ChrisRM/followers","following_url":"https://api.github.com/users/ChrisRM/following{/other_user}","gists_url":"https://api.github.com/users/ChrisRM/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisRM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisRM/subscriptions","organizations_url":"https://api.github.com/users/ChrisRM/orgs","repos_url":"https://api.github.com/users/ChrisRM/repos","events_url":"https://api.github.com/users/ChrisRM/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisRM/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T13:20:35Z","updated_at":"2015-07-08T13:20:35Z","body":"I'm not sure to be honest. I haven't experienced any problems with the pagination. You could try one last thing:\r\n\r\n```php\r\n$result = $mc->get('lists?fields=lists.id,lists.name&count=5&offset=4');\r\n\r\nvar_dump($result);\r\n```"}}