{"action":"created","issue":{"url":"https://api.github.com/repos/strapi/strapi/issues/744","repository_url":"https://api.github.com/repos/strapi/strapi","labels_url":"https://api.github.com/repos/strapi/strapi/issues/744/labels{/name}","comments_url":"https://api.github.com/repos/strapi/strapi/issues/744/comments","events_url":"https://api.github.com/repos/strapi/strapi/issues/744/events","html_url":"https://github.com/strapi/strapi/issues/744","id":302429919,"number":744,"title":"Is there a simple way to add \"upload data from csv file\" feature? ","user":{"login":"Jakku7","id":29732627,"avatar_url":"https://avatars2.githubusercontent.com/u/29732627?v=4","gravatar_id":"","url":"https://api.github.com/users/Jakku7","html_url":"https://github.com/Jakku7","followers_url":"https://api.github.com/users/Jakku7/followers","following_url":"https://api.github.com/users/Jakku7/following{/other_user}","gists_url":"https://api.github.com/users/Jakku7/gists{/gist_id}","starred_url":"https://api.github.com/users/Jakku7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jakku7/subscriptions","organizations_url":"https://api.github.com/users/Jakku7/orgs","repos_url":"https://api.github.com/users/Jakku7/repos","events_url":"https://api.github.com/users/Jakku7/events{/privacy}","received_events_url":"https://api.github.com/users/Jakku7/received_events","type":"User","site_admin":false},"labels":[{"id":749108959,"url":"https://api.github.com/repos/strapi/strapi/labels/priority:%20medium","name":"priority: medium","color":"fbc307","default":false},{"id":758313798,"url":"https://api.github.com/repos/strapi/strapi/labels/type:%20help%20wanted%20%F0%9F%A4%B7%E2%80%8D%E2%99%82%EF%B8%8F","name":"type: help wanted 🤷‍♂️","color":"1ed856","default":false}],"state":"open","locked":false,"assignee":{"login":"Aurelsicoko","id":4144726,"avatar_url":"https://avatars0.githubusercontent.com/u/4144726?v=4","gravatar_id":"","url":"https://api.github.com/users/Aurelsicoko","html_url":"https://github.com/Aurelsicoko","followers_url":"https://api.github.com/users/Aurelsicoko/followers","following_url":"https://api.github.com/users/Aurelsicoko/following{/other_user}","gists_url":"https://api.github.com/users/Aurelsicoko/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurelsicoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurelsicoko/subscriptions","organizations_url":"https://api.github.com/users/Aurelsicoko/orgs","repos_url":"https://api.github.com/users/Aurelsicoko/repos","events_url":"https://api.github.com/users/Aurelsicoko/events{/privacy}","received_events_url":"https://api.github.com/users/Aurelsicoko/received_events","type":"User","site_admin":false},"assignees":[{"login":"Aurelsicoko","id":4144726,"avatar_url":"https://avatars0.githubusercontent.com/u/4144726?v=4","gravatar_id":"","url":"https://api.github.com/users/Aurelsicoko","html_url":"https://github.com/Aurelsicoko","followers_url":"https://api.github.com/users/Aurelsicoko/followers","following_url":"https://api.github.com/users/Aurelsicoko/following{/other_user}","gists_url":"https://api.github.com/users/Aurelsicoko/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurelsicoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurelsicoko/subscriptions","organizations_url":"https://api.github.com/users/Aurelsicoko/orgs","repos_url":"https://api.github.com/users/Aurelsicoko/repos","events_url":"https://api.github.com/users/Aurelsicoko/events{/privacy}","received_events_url":"https://api.github.com/users/Aurelsicoko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-05T19:28:47Z","updated_at":"2018-03-15T13:44:59Z","closed_at":null,"author_association":"NONE","body":"**Node.js version**:\r\n8.9.4\r\n**npm version**:\r\n5.6.0\r\n**Strapi version**:\r\nlatest\r\n**Operating system**:\r\nWindows 10\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\nrequest a feature\r\n\r\nIs there a simple way to upload data from csv file? For example, I would like to create new API called \"products\" with couple of features (size, color and so on). I do not want to add entry by entry, but prefer to upload all the products from csv file. \r\n\r\nIs that currently possible or I need to create a plugin/develop it by myself/etc? "},"comment":{"url":"https://api.github.com/repos/strapi/strapi/issues/comments/373380336","html_url":"https://github.com/strapi/strapi/issues/744#issuecomment-373380336","issue_url":"https://api.github.com/repos/strapi/strapi/issues/744","id":373380336,"user":{"login":"lauriejim","id":5716596,"avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T13:44:59Z","updated_at":"2018-03-15T13:44:59Z","author_association":"OWNER","body":"Hi ! Actually the best way is to create a Short script that convert your CSV data in an array of JSON object and then to loop on and make `await strapi.services.product.add(entryObject);`\r\n\r\nOr find a tools that make directly an import in your database."}}
{"actor":{"display_login":"lauriejim"}}