{"action":"created","issue":{"url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/252","repository_url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs","labels_url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/252/comments","events_url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/252/events","html_url":"https://github.com/sendgrid/sendgrid-nodejs/issues/252","id":162787630,"number":252,"title":"Easy to understand example","user":{"login":"julesbou","id":328303,"avatar_url":"https://avatars.githubusercontent.com/u/328303?v=3","gravatar_id":"","url":"https://api.github.com/users/julesbou","html_url":"https://github.com/julesbou","followers_url":"https://api.github.com/users/julesbou/followers","following_url":"https://api.github.com/users/julesbou/following{/other_user}","gists_url":"https://api.github.com/users/julesbou/gists{/gist_id}","starred_url":"https://api.github.com/users/julesbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julesbou/subscriptions","organizations_url":"https://api.github.com/users/julesbou/orgs","repos_url":"https://api.github.com/users/julesbou/repos","events_url":"https://api.github.com/users/julesbou/events{/privacy}","received_events_url":"https://api.github.com/users/julesbou/received_events","type":"User","site_admin":false},"labels":[{"id":23244169,"url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/labels/status:%20help%20wanted","name":"status: help wanted","color":"0b02e1","default":false},{"id":23244077,"url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/labels/type:%20enhancement","name":"type: enhancement","color":"02e10c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":58,"created_at":"2016-06-28T21:07:02Z","updated_at":"2016-12-09T05:41:43Z","closed_at":null,"body":"Hello,\n\nWould be great to provide an easy to understand example on your readme, something as simple as https://sendgrid.com/blog/migrating-app-sendgrids-template-engine/ for example, because tbh if I wanted to write 30 lines of javascript code to send a simple email I wouldn't be using sendgrid.\n\nYour library is quite frustrating to use, even for an experienced developer.\n\nCheers,\nand sorry for this angry rant\n\nps: this example is exactly what I'm looking for https://sendgrid.com/docs/Integrate/Code_Examples/v2_Mail/nodejs.html , so easy to use\n"},"comment":{"url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/comments/265938380","html_url":"https://github.com/sendgrid/sendgrid-nodejs/issues/252#issuecomment-265938380","issue_url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/252","id":265938380,"user":{"login":"jamesdixon","id":110114,"avatar_url":"https://avatars.githubusercontent.com/u/110114?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesdixon","html_url":"https://github.com/jamesdixon","followers_url":"https://api.github.com/users/jamesdixon/followers","following_url":"https://api.github.com/users/jamesdixon/following{/other_user}","gists_url":"https://api.github.com/users/jamesdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesdixon/subscriptions","organizations_url":"https://api.github.com/users/jamesdixon/orgs","repos_url":"https://api.github.com/users/jamesdixon/repos","events_url":"https://api.github.com/users/jamesdixon/events{/privacy}","received_events_url":"https://api.github.com/users/jamesdixon/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T05:41:43Z","updated_at":"2016-12-09T05:41:43Z","body":"@adamreisnz seriously, thank you.\r\n\r\nMy background job that sends emails via sendgrid was using v4.0.7, which was already complicated enough. I upgraded to the latest version and sadly everything broke. I was so frustrated with how complex it was to send an email that I didn't even bother updating.\r\n\r\nAll that said, the simplicity of this is exactly what I was looking for. I'll give it a shot over the weekend.\r\n\r\nCheers!"}}
{"actor":{"display_login":"jamesdixon"}}