{"action":"created","issue":{"url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/56","labels_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/56/comments","events_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/56/events","html_url":"https://github.com/mailjet/mailjet-apiv3-php-simple/issues/56","id":58191687,"number":56,"title":"Upload csv into list","user":{"login":"florianproxi","id":11058258,"avatar_url":"https://avatars.githubusercontent.com/u/11058258?v=3","gravatar_id":"","url":"https://api.github.com/users/florianproxi","html_url":"https://github.com/florianproxi","followers_url":"https://api.github.com/users/florianproxi/followers","following_url":"https://api.github.com/users/florianproxi/following{/other_user}","gists_url":"https://api.github.com/users/florianproxi/gists{/gist_id}","starred_url":"https://api.github.com/users/florianproxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianproxi/subscriptions","organizations_url":"https://api.github.com/users/florianproxi/orgs","repos_url":"https://api.github.com/users/florianproxi/repos","events_url":"https://api.github.com/users/florianproxi/events{/privacy}","received_events_url":"https://api.github.com/users/florianproxi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-19T10:40:17Z","updated_at":"2015-02-20T10:09:41Z","closed_at":null,"body":"Hello,\r\nI'm trying to upload a csv to a list using Mailjet Api V3, but not find how to do this.\r\nThis is my actually function that didn't work:\r\npublic function importerCsv(){\r\n        $params = array(\r\n                        \"method\"        => \"POST\",\r\n                        \"ID\"            => \"9\",\r\n                        \"csv_content\"   =>  '\"email\" \"michot.g@mail.com\" \"vincent.dupont@voili.com\"',\r\n        );\r\n        $result = $this->mj->uploadCSVContactslistData($params);\r\n        var_dump($result);\r\n        var_dump($this->mj->debug());\r\n    }"},"comment":{"url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/comments/75215396","html_url":"https://github.com/mailjet/mailjet-apiv3-php-simple/issues/56#issuecomment-75215396","issue_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/56","id":75215396,"user":{"login":"arnaudbreton","id":1361191,"avatar_url":"https://avatars.githubusercontent.com/u/1361191?v=3","gravatar_id":"","url":"https://api.github.com/users/arnaudbreton","html_url":"https://github.com/arnaudbreton","followers_url":"https://api.github.com/users/arnaudbreton/followers","following_url":"https://api.github.com/users/arnaudbreton/following{/other_user}","gists_url":"https://api.github.com/users/arnaudbreton/gists{/gist_id}","starred_url":"https://api.github.com/users/arnaudbreton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnaudbreton/subscriptions","organizations_url":"https://api.github.com/users/arnaudbreton/orgs","repos_url":"https://api.github.com/users/arnaudbreton/repos","events_url":"https://api.github.com/users/arnaudbreton/events{/privacy}","received_events_url":"https://api.github.com/users/arnaudbreton/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T10:09:41Z","updated_at":"2015-02-20T10:09:41Z","body":"Bonne question @fturk!\r\n\r\nJe ne suis pas sûr non plus du format du CSV, il n'y pas de saut de ligne. Pouvez-vous essayer d'ajouter des `\\n` à la place des espaces ? Autrement, créer un fichier csv à côté, bien formatté et le lire via [file_get_contents en PHP](http://php.net/manual/en/function.file-get-contents.php)"}}