{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls/28","id":45210733,"html_url":"https://github.com/stellar/js-stellar-sdk/pull/28","diff_url":"https://github.com/stellar/js-stellar-sdk/pull/28.diff","patch_url":"https://github.com/stellar/js-stellar-sdk/pull/28.patch","issue_url":"https://api.github.com/repos/stellar/js-stellar-sdk/issues/28","number":28,"state":"open","locked":false,"title":"Offers parity","user":{"login":"dydt","id":305198,"avatar_url":"https://avatars.githubusercontent.com/u/305198?v=3","gravatar_id":"","url":"https://api.github.com/users/dydt","html_url":"https://github.com/dydt","followers_url":"https://api.github.com/users/dydt/followers","following_url":"https://api.github.com/users/dydt/following{/other_user}","gists_url":"https://api.github.com/users/dydt/gists{/gist_id}","starred_url":"https://api.github.com/users/dydt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dydt/subscriptions","organizations_url":"https://api.github.com/users/dydt/orgs","repos_url":"https://api.github.com/users/dydt/repos","events_url":"https://api.github.com/users/dydt/events{/privacy}","received_events_url":"https://api.github.com/users/dydt/received_events","type":"User","site_admin":false},"body":"Added a CallBuilder class and subclasses for each endpoint resource.  For example, `server.transactions()` calls a `TransactionCallBuilder`.  You can then add filters such as `.forAccount(\"GSDEFS...\")` or `.forLedger(\"123\")` and queries such as `.limit(\"40\")`.  Then you can `call()` the CallBuilder to return a Promise or `stream()` to return an EventSource.\r\n\r\nChanged examples in `docs/readme.md` to reflect this.  Added \"happy path\" tests to make sure the right responses and errors are returned.","created_at":"2015-09-16T18:59:59Z","updated_at":"2015-09-16T18:59:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls/28/commits","review_comments_url":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls/28/comments","review_comment_url":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stellar/js-stellar-sdk/issues/28/comments","statuses_url":"https://api.github.com/repos/stellar/js-stellar-sdk/statuses/c99d76d80cf0f419959cbcdcff4eb356d441ab41","head":{"label":"stellar:offers_parity","ref":"offers_parity","sha":"c99d76d80cf0f419959cbcdcff4eb356d441ab41","user":{"login":"stellar","id":7386716,"avatar_url":"https://avatars.githubusercontent.com/u/7386716?v=3","gravatar_id":"","url":"https://api.github.com/users/stellar","html_url":"https://github.com/stellar","followers_url":"https://api.github.com/users/stellar/followers","following_url":"https://api.github.com/users/stellar/following{/other_user}","gists_url":"https://api.github.com/users/stellar/gists{/gist_id}","starred_url":"https://api.github.com/users/stellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellar/subscriptions","organizations_url":"https://api.github.com/users/stellar/orgs","repos_url":"https://api.github.com/users/stellar/repos","events_url":"https://api.github.com/users/stellar/events{/privacy}","received_events_url":"https://api.github.com/users/stellar/received_events","type":"Organization","site_admin":false},"repo":{"id":33684726,"name":"js-stellar-sdk","full_name":"stellar/js-stellar-sdk","owner":{"login":"stellar","id":7386716,"avatar_url":"https://avatars.githubusercontent.com/u/7386716?v=3","gravatar_id":"","url":"https://api.github.com/users/stellar","html_url":"https://github.com/stellar","followers_url":"https://api.github.com/users/stellar/followers","following_url":"https://api.github.com/users/stellar/following{/other_user}","gists_url":"https://api.github.com/users/stellar/gists{/gist_id}","starred_url":"https://api.github.com/users/stellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellar/subscriptions","organizations_url":"https://api.github.com/users/stellar/orgs","repos_url":"https://api.github.com/users/stellar/repos","events_url":"https://api.github.com/users/stellar/events{/privacy}","received_events_url":"https://api.github.com/users/stellar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stellar/js-stellar-sdk","description":"Main Stellar client library for the Javascript language","fork":false,"url":"https://api.github.com/repos/stellar/js-stellar-sdk","forks_url":"https://api.github.com/repos/stellar/js-stellar-sdk/forks","keys_url":"https://api.github.com/repos/stellar/js-stellar-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stellar/js-stellar-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stellar/js-stellar-sdk/teams","hooks_url":"https://api.github.com/repos/stellar/js-stellar-sdk/hooks","issue_events_url":"https://api.github.com/repos/stellar/js-stellar-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/stellar/js-stellar-sdk/events","assignees_url":"https://api.github.com/repos/stellar/js-stellar-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/stellar/js-stellar-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/stellar/js-stellar-sdk/tags","blobs_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stellar/js-stellar-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/stellar/js-stellar-sdk/languages","stargazers_url":"https://api.github.com/repos/stellar/js-stellar-sdk/stargazers","contributors_url":"https://api.github.com/repos/stellar/js-stellar-sdk/contributors","subscribers_url":"https://api.github.com/repos/stellar/js-stellar-sdk/subscribers","subscription_url":"https://api.github.com/repos/stellar/js-stellar-sdk/subscription","commits_url":"https://api.github.com/repos/stellar/js-stellar-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/stellar/js-stellar-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/stellar/js-stellar-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/stellar/js-stellar-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/stellar/js-stellar-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stellar/js-stellar-sdk/merges","archive_url":"https://api.github.com/repos/stellar/js-stellar-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stellar/js-stellar-sdk/downloads","issues_url":"https://api.github.com/repos/stellar/js-stellar-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/stellar/js-stellar-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/stellar/js-stellar-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stellar/js-stellar-sdk/labels{/name}","releases_url":"https://api.github.com/repos/stellar/js-stellar-sdk/releases{/id}","created_at":"2015-04-09T18:14:00Z","updated_at":"2015-08-27T20:27:52Z","pushed_at":"2015-09-16T18:42:46Z","git_url":"git://github.com/stellar/js-stellar-sdk.git","ssh_url":"git@github.com:stellar/js-stellar-sdk.git","clone_url":"https://github.com/stellar/js-stellar-sdk.git","svn_url":"https://github.com/stellar/js-stellar-sdk","homepage":null,"size":3560,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":9,"default_branch":"master"}},"base":{"label":"stellar:master","ref":"master","sha":"bd2cc1c7ed78b1343dec26d162f14344d7393772","user":{"login":"stellar","id":7386716,"avatar_url":"https://avatars.githubusercontent.com/u/7386716?v=3","gravatar_id":"","url":"https://api.github.com/users/stellar","html_url":"https://github.com/stellar","followers_url":"https://api.github.com/users/stellar/followers","following_url":"https://api.github.com/users/stellar/following{/other_user}","gists_url":"https://api.github.com/users/stellar/gists{/gist_id}","starred_url":"https://api.github.com/users/stellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellar/subscriptions","organizations_url":"https://api.github.com/users/stellar/orgs","repos_url":"https://api.github.com/users/stellar/repos","events_url":"https://api.github.com/users/stellar/events{/privacy}","received_events_url":"https://api.github.com/users/stellar/received_events","type":"Organization","site_admin":false},"repo":{"id":33684726,"name":"js-stellar-sdk","full_name":"stellar/js-stellar-sdk","owner":{"login":"stellar","id":7386716,"avatar_url":"https://avatars.githubusercontent.com/u/7386716?v=3","gravatar_id":"","url":"https://api.github.com/users/stellar","html_url":"https://github.com/stellar","followers_url":"https://api.github.com/users/stellar/followers","following_url":"https://api.github.com/users/stellar/following{/other_user}","gists_url":"https://api.github.com/users/stellar/gists{/gist_id}","starred_url":"https://api.github.com/users/stellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellar/subscriptions","organizations_url":"https://api.github.com/users/stellar/orgs","repos_url":"https://api.github.com/users/stellar/repos","events_url":"https://api.github.com/users/stellar/events{/privacy}","received_events_url":"https://api.github.com/users/stellar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stellar/js-stellar-sdk","description":"Main Stellar client library for the Javascript language","fork":false,"url":"https://api.github.com/repos/stellar/js-stellar-sdk","forks_url":"https://api.github.com/repos/stellar/js-stellar-sdk/forks","keys_url":"https://api.github.com/repos/stellar/js-stellar-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stellar/js-stellar-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stellar/js-stellar-sdk/teams","hooks_url":"https://api.github.com/repos/stellar/js-stellar-sdk/hooks","issue_events_url":"https://api.github.com/repos/stellar/js-stellar-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/stellar/js-stellar-sdk/events","assignees_url":"https://api.github.com/repos/stellar/js-stellar-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/stellar/js-stellar-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/stellar/js-stellar-sdk/tags","blobs_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stellar/js-stellar-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/stellar/js-stellar-sdk/languages","stargazers_url":"https://api.github.com/repos/stellar/js-stellar-sdk/stargazers","contributors_url":"https://api.github.com/repos/stellar/js-stellar-sdk/contributors","subscribers_url":"https://api.github.com/repos/stellar/js-stellar-sdk/subscribers","subscription_url":"https://api.github.com/repos/stellar/js-stellar-sdk/subscription","commits_url":"https://api.github.com/repos/stellar/js-stellar-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/stellar/js-stellar-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/stellar/js-stellar-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/stellar/js-stellar-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/stellar/js-stellar-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/stellar/js-stellar-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stellar/js-stellar-sdk/merges","archive_url":"https://api.github.com/repos/stellar/js-stellar-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stellar/js-stellar-sdk/downloads","issues_url":"https://api.github.com/repos/stellar/js-stellar-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/stellar/js-stellar-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/stellar/js-stellar-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stellar/js-stellar-sdk/labels{/name}","releases_url":"https://api.github.com/repos/stellar/js-stellar-sdk/releases{/id}","created_at":"2015-04-09T18:14:00Z","updated_at":"2015-08-27T20:27:52Z","pushed_at":"2015-09-16T18:42:46Z","git_url":"git://github.com/stellar/js-stellar-sdk.git","ssh_url":"git@github.com:stellar/js-stellar-sdk.git","clone_url":"https://github.com/stellar/js-stellar-sdk.git","svn_url":"https://github.com/stellar/js-stellar-sdk","homepage":null,"size":3560,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls/28"},"html":{"href":"https://github.com/stellar/js-stellar-sdk/pull/28"},"issue":{"href":"https://api.github.com/repos/stellar/js-stellar-sdk/issues/28"},"comments":{"href":"https://api.github.com/repos/stellar/js-stellar-sdk/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stellar/js-stellar-sdk/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/stellar/js-stellar-sdk/statuses/c99d76d80cf0f419959cbcdcff4eb356d441ab41"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":606,"deletions":249,"changed_files":13}}