{"action":"created","issue":{"url":"https://api.github.com/repos/freeall/mtgjson/issues/2","repository_url":"https://api.github.com/repos/freeall/mtgjson","labels_url":"https://api.github.com/repos/freeall/mtgjson/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/freeall/mtgjson/issues/2/comments","events_url":"https://api.github.com/repos/freeall/mtgjson/issues/2/events","html_url":"https://github.com/freeall/mtgjson/issues/2","id":153144595,"number":2,"title":"Export DATA_FILE path","user":{"login":"jesseflorig","id":2729384,"avatar_url":"https://avatars.githubusercontent.com/u/2729384?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseflorig","html_url":"https://github.com/jesseflorig","followers_url":"https://api.github.com/users/jesseflorig/followers","following_url":"https://api.github.com/users/jesseflorig/following{/other_user}","gists_url":"https://api.github.com/users/jesseflorig/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseflorig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseflorig/subscriptions","organizations_url":"https://api.github.com/users/jesseflorig/orgs","repos_url":"https://api.github.com/users/jesseflorig/repos","events_url":"https://api.github.com/users/jesseflorig/events{/privacy}","received_events_url":"https://api.github.com/users/jesseflorig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-05T00:19:02Z","updated_at":"2016-05-06T19:26:54Z","closed_at":null,"body":"While using Meteor 1.3, I was having a hell of a time finding the path to the json file after the build process. In fact, I was only able to get to it via the absolute path. However when I changed the default export to `export.fetchJson` and added `export.jsonPath = DATA_FILE`, I'm able to easily find it for further parsing elsewhere.\r\n\r\nI can submit a PR if you'd like to take a look.\r\n\r\nCheers."},"comment":{"url":"https://api.github.com/repos/freeall/mtgjson/issues/comments/217536844","html_url":"https://github.com/freeall/mtgjson/issues/2#issuecomment-217536844","issue_url":"https://api.github.com/repos/freeall/mtgjson/issues/2","id":217536844,"user":{"login":"jesseflorig","id":2729384,"avatar_url":"https://avatars.githubusercontent.com/u/2729384?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseflorig","html_url":"https://github.com/jesseflorig","followers_url":"https://api.github.com/users/jesseflorig/followers","following_url":"https://api.github.com/users/jesseflorig/following{/other_user}","gists_url":"https://api.github.com/users/jesseflorig/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseflorig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseflorig/subscriptions","organizations_url":"https://api.github.com/users/jesseflorig/orgs","repos_url":"https://api.github.com/users/jesseflorig/repos","events_url":"https://api.github.com/users/jesseflorig/events{/privacy}","received_events_url":"https://api.github.com/users/jesseflorig/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T19:26:53Z","updated_at":"2016-05-06T19:26:53Z","body":"Thanks for your responses, I finally got it running correctly. I wasn't handling the callback correctly so my Mongo commands were failing when trying to run synchronously.\r\n\r\nI'm working on an open source deck-builder/play-tester using Meteor/React. I have a few legacy toy projects up at Wzrdry.com that I abandoned to work on MtgDb.info. Unfortunately the project owner shut that down, and I'm just now restarting to build something after coming across Mtgjson.\r\n\r\nI have a few prototypes that will be working their way into the final project:\r\n\r\nhttp://codepen.io/jesseflorig/pen/rePaea\r\nhttp://codepen.io/jesseflorig/pen/bpQxpJ\r\nhttp://codepen.io/jesseflorig/pen/EKGxbx\r\n\r\n"}}