{"action":"created","issue":{"url":"https://api.github.com/repos/ayastreb/money-tracker/issues/12","repository_url":"https://api.github.com/repos/ayastreb/money-tracker","labels_url":"https://api.github.com/repos/ayastreb/money-tracker/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ayastreb/money-tracker/issues/12/comments","events_url":"https://api.github.com/repos/ayastreb/money-tracker/issues/12/events","html_url":"https://github.com/ayastreb/money-tracker/issues/12","id":283121910,"number":12,"title":"CSV import file format","user":{"login":"doraess","id":1382261,"avatar_url":"https://avatars1.githubusercontent.com/u/1382261?v=4","gravatar_id":"","url":"https://api.github.com/users/doraess","html_url":"https://github.com/doraess","followers_url":"https://api.github.com/users/doraess/followers","following_url":"https://api.github.com/users/doraess/following{/other_user}","gists_url":"https://api.github.com/users/doraess/gists{/gist_id}","starred_url":"https://api.github.com/users/doraess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doraess/subscriptions","organizations_url":"https://api.github.com/users/doraess/orgs","repos_url":"https://api.github.com/users/doraess/repos","events_url":"https://api.github.com/users/doraess/events{/privacy}","received_events_url":"https://api.github.com/users/doraess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-19T06:54:51Z","updated_at":"2017-12-19T11:58:15Z","closed_at":null,"author_association":"NONE","body":"How is the internal structure for the CSV file?\r\nDo yo have to use specific fields? "},"comment":{"url":"https://api.github.com/repos/ayastreb/money-tracker/issues/comments/352729225","html_url":"https://github.com/ayastreb/money-tracker/issues/12#issuecomment-352729225","issue_url":"https://api.github.com/repos/ayastreb/money-tracker/issues/12","id":352729225,"user":{"login":"ayastreb","id":2777667,"avatar_url":"https://avatars0.githubusercontent.com/u/2777667?v=4","gravatar_id":"","url":"https://api.github.com/users/ayastreb","html_url":"https://github.com/ayastreb","followers_url":"https://api.github.com/users/ayastreb/followers","following_url":"https://api.github.com/users/ayastreb/following{/other_user}","gists_url":"https://api.github.com/users/ayastreb/gists{/gist_id}","starred_url":"https://api.github.com/users/ayastreb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayastreb/subscriptions","organizations_url":"https://api.github.com/users/ayastreb/orgs","repos_url":"https://api.github.com/users/ayastreb/repos","events_url":"https://api.github.com/users/ayastreb/events{/privacy}","received_events_url":"https://api.github.com/users/ayastreb/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T11:58:15Z","updated_at":"2017-12-19T11:58:15Z","author_association":"OWNER","body":"Hi!\r\n\r\nCurrently it uses a format from the app I've been using previously.\r\nIt should be a CSV file with one transaction per line with following structure:\r\n```\r\ndate;account;tags;amount;currency;description;transfer\r\n```\r\nFor example:\r\n```\r\n17.12.2017;Checking;Food\\Coffee;-9,75;USD;starbucks;\r\n```\r\nDate is in DD.MM.YYYY format.\r\nTags separated by \"\\\" or \"/\"\r\nAmount is float with \",\" as decimal separator. Negative value is expense, positive value is income.\r\n\r\nTransfer transactions represented by two lines, last column indicates linked account:\r\n```\r\n17.12.2017;Checking;;-100,00;USD;;Bob's Wallet\r\n17.12.2017;Bob's Wallet;;100,00;USD;;Checking\r\n```\r\nImport script will create new accounts if it doesn't exist already (looked up by name).\r\n\r\nI need to document it better and maybe provide more options for different data formats."}}
{"actor":{"display_login":"ayastreb"}}