{"action":"created","comment":{"url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/comments/28681375","id":28681375,"diff_hunk":"@@ -1,279 +1,417 @@\n Advocate Things JavaScript SDK [![Build Status](https://travis-ci.org/digitalanimal/advocate-things-js-sdk.svg?branch=master)](https://travis-ci.org/digitalanimal/advocate-things-js-sdk)\n-====\n+==============================\n \n-The official Advocate Things SDK for JavaScript (currently available for browsers).\n+The official Advocate Things SDK for JavaScript. This SDK allows easy integration with our advocacy services.\n+\n+For more information about what we do, or to talk to us, see [digitalanimal.com]().\n \n ## Index\n-- [Installation](#api-installation)\n-- [Implementation](#api-implementation)\n-- [API](#api-usage)\n-- [Events](#events)\n-- [Data Object Spec](#data-spec)\n-- [Development](#api-development)\n+* [Account setup](#account-setup)\n+* [Data object specification](#data-object-specification)\n+* [Basic implementation](#basic-implementation)\n+* [Full implementation](#full-implementation)\n+* [Reacting to data](#reacting-to-data)\n+* [API definition](#api-definition)\n+* [Development and contributing](#development)\n+* [README conventions](#readme-conventions)\n+\n+## <a name=\"account-setup\"></a>Account setup/API key\n+If you haven't done so already, you'll need to [speak to an advocacy analyst](http://digitalanimal.com/contact/) to set up an account and get a token for using Advocate Things. Additionally, you'll need to configure a campaign and register any Sharepoints or Touchpoints of interest.","path":"README.md","position":27,"original_position":27,"commit_id":"de0694c4a37efe9555c58906cfeacb1a113d0b25","original_commit_id":"de0694c4a37efe9555c58906cfeacb1a113d0b25","user":{"login":"nbrl","id":7620088,"avatar_url":"https://avatars.githubusercontent.com/u/7620088?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrl","html_url":"https://github.com/nbrl","followers_url":"https://api.github.com/users/nbrl/followers","following_url":"https://api.github.com/users/nbrl/following{/other_user}","gists_url":"https://api.github.com/users/nbrl/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrl/subscriptions","organizations_url":"https://api.github.com/users/nbrl/orgs","repos_url":"https://api.github.com/users/nbrl/repos","events_url":"https://api.github.com/users/nbrl/events{/privacy}","received_events_url":"https://api.github.com/users/nbrl/received_events","type":"User","site_admin":false},"body":"Yepper, probably missed a few of these. :tiger2: ","created_at":"2015-04-20T11:35:26Z","updated_at":"2015-04-20T11:35:26Z","html_url":"https://github.com/digitalanimal/advocate-things-js-sdk/pull/18#discussion_r28681375","pull_request_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/comments/28681375"},"html":{"href":"https://github.com/digitalanimal/advocate-things-js-sdk/pull/18#discussion_r28681375"},"pull_request":{"href":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/18","id":33249509,"html_url":"https://github.com/digitalanimal/advocate-things-js-sdk/pull/18","diff_url":"https://github.com/digitalanimal/advocate-things-js-sdk/pull/18.diff","patch_url":"https://github.com/digitalanimal/advocate-things-js-sdk/pull/18.patch","issue_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/issues/18","number":18,"state":"open","locked":false,"title":"Readme tidy up","user":{"login":"nbrl","id":7620088,"avatar_url":"https://avatars.githubusercontent.com/u/7620088?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrl","html_url":"https://github.com/nbrl","followers_url":"https://api.github.com/users/nbrl/followers","following_url":"https://api.github.com/users/nbrl/following{/other_user}","gists_url":"https://api.github.com/users/nbrl/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrl/subscriptions","organizations_url":"https://api.github.com/users/nbrl/orgs","repos_url":"https://api.github.com/users/nbrl/repos","events_url":"https://api.github.com/users/nbrl/events{/privacy}","received_events_url":"https://api.github.com/users/nbrl/received_events","type":"User","site_admin":false},"body":"Comments, criticisms, thoughts? The diff won't be overly useful because it's more or less a rewrite.","created_at":"2015-04-14T11:47:42Z","updated_at":"2015-04-20T11:35:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"716a6aeedebeeee51fb44c60f35fded61575f72b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/18/commits","review_comments_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/18/comments","review_comment_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/issues/18/comments","statuses_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/statuses/de0694c4a37efe9555c58906cfeacb1a113d0b25","head":{"label":"nbrl:readme-tidy-up","ref":"readme-tidy-up","sha":"de0694c4a37efe9555c58906cfeacb1a113d0b25","user":{"login":"nbrl","id":7620088,"avatar_url":"https://avatars.githubusercontent.com/u/7620088?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrl","html_url":"https://github.com/nbrl","followers_url":"https://api.github.com/users/nbrl/followers","following_url":"https://api.github.com/users/nbrl/following{/other_user}","gists_url":"https://api.github.com/users/nbrl/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrl/subscriptions","organizations_url":"https://api.github.com/users/nbrl/orgs","repos_url":"https://api.github.com/users/nbrl/repos","events_url":"https://api.github.com/users/nbrl/events{/privacy}","received_events_url":"https://api.github.com/users/nbrl/received_events","type":"User","site_admin":false},"repo":{"id":32318178,"name":"advocate-things-js-sdk","full_name":"nbrl/advocate-things-js-sdk","owner":{"login":"nbrl","id":7620088,"avatar_url":"https://avatars.githubusercontent.com/u/7620088?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrl","html_url":"https://github.com/nbrl","followers_url":"https://api.github.com/users/nbrl/followers","following_url":"https://api.github.com/users/nbrl/following{/other_user}","gists_url":"https://api.github.com/users/nbrl/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrl/subscriptions","organizations_url":"https://api.github.com/users/nbrl/orgs","repos_url":"https://api.github.com/users/nbrl/repos","events_url":"https://api.github.com/users/nbrl/events{/privacy}","received_events_url":"https://api.github.com/users/nbrl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nbrl/advocate-things-js-sdk","description":" Advocate Things SDK for JavaScript ","fork":true,"url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk","forks_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/forks","keys_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/teams","hooks_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/events","assignees_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/tags","blobs_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/languages","stargazers_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/subscription","commits_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/merges","archive_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/downloads","issues_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/nbrl/advocate-things-js-sdk/releases{/id}","created_at":"2015-03-16T10:42:13Z","updated_at":"2015-04-13T14:40:06Z","pushed_at":"2015-04-14T11:56:00Z","git_url":"git://github.com/nbrl/advocate-things-js-sdk.git","ssh_url":"git@github.com:nbrl/advocate-things-js-sdk.git","clone_url":"https://github.com/nbrl/advocate-things-js-sdk.git","svn_url":"https://github.com/nbrl/advocate-things-js-sdk","homepage":"","size":377,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"digitalanimal:master","ref":"master","sha":"3c5dcc7b39de7ae59b39366b20c56995d1d79292","user":{"login":"digitalanimal","id":2040430,"avatar_url":"https://avatars.githubusercontent.com/u/2040430?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalanimal","html_url":"https://github.com/digitalanimal","followers_url":"https://api.github.com/users/digitalanimal/followers","following_url":"https://api.github.com/users/digitalanimal/following{/other_user}","gists_url":"https://api.github.com/users/digitalanimal/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalanimal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalanimal/subscriptions","organizations_url":"https://api.github.com/users/digitalanimal/orgs","repos_url":"https://api.github.com/users/digitalanimal/repos","events_url":"https://api.github.com/users/digitalanimal/events{/privacy}","received_events_url":"https://api.github.com/users/digitalanimal/received_events","type":"Organization","site_admin":false},"repo":{"id":32318170,"name":"advocate-things-js-sdk","full_name":"digitalanimal/advocate-things-js-sdk","owner":{"login":"digitalanimal","id":2040430,"avatar_url":"https://avatars.githubusercontent.com/u/2040430?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalanimal","html_url":"https://github.com/digitalanimal","followers_url":"https://api.github.com/users/digitalanimal/followers","following_url":"https://api.github.com/users/digitalanimal/following{/other_user}","gists_url":"https://api.github.com/users/digitalanimal/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalanimal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalanimal/subscriptions","organizations_url":"https://api.github.com/users/digitalanimal/orgs","repos_url":"https://api.github.com/users/digitalanimal/repos","events_url":"https://api.github.com/users/digitalanimal/events{/privacy}","received_events_url":"https://api.github.com/users/digitalanimal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digitalanimal/advocate-things-js-sdk","description":"Advocate Things SDK for JavaScript","fork":false,"url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk","forks_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/forks","keys_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/teams","hooks_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/events","assignees_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/tags","blobs_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/languages","stargazers_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/subscription","commits_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/merges","archive_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/downloads","issues_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/releases{/id}","created_at":"2015-03-16T10:41:51Z","updated_at":"2015-04-13T12:40:50Z","pushed_at":"2015-04-14T11:56:01Z","git_url":"git://github.com/digitalanimal/advocate-things-js-sdk.git","ssh_url":"git@github.com:digitalanimal/advocate-things-js-sdk.git","clone_url":"https://github.com/digitalanimal/advocate-things-js-sdk.git","svn_url":"https://github.com/digitalanimal/advocate-things-js-sdk","homepage":"","size":421,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/18"},"html":{"href":"https://github.com/digitalanimal/advocate-things-js-sdk/pull/18"},"issue":{"href":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/issues/18"},"comments":{"href":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/digitalanimal/advocate-things-js-sdk/statuses/de0694c4a37efe9555c58906cfeacb1a113d0b25"}}}}