{"action":"created","comment":{"url":"https://api.github.com/repos/fastlane/spaceship/pulls/comments/54906352","id":54906352,"diff_hunk":"@@ -393,6 +393,36 @@ def price_tier(app_id)\n       end\n     end\n \n+    # Returns an array of all available pricing tiers\n+    # @return [Array] the PricingTier objects\n+    # [{\n+    #   \"tierStem\": \"0\",\n+    #   \"tierName\": \"Free\",\n+    #   \"pricingInfo\": [{\n+    #       \"country\": \"United States\",\n+    #       \"countryCode\": \"US\",\n+    #       \"currencySymbol\": \"$\",\n+    #       \"currencyCode\": \"USD\",\n+    #       \"wholesalePrice\": 0.0,\n+    #       \"retailPrice\": 0.0,\n+    #       \"fRetailPrice\": \"$0.00\",\n+    #       \"fWholesalePrice\": \"$0.00\"\n+    #     }, {\n+    #     ...\n+    # }, {\n+    # ...\n+    def pricing_tiers","path":"lib/spaceship/tunes/tunes_client.rb","position":25,"original_position":22,"commit_id":"db6f9cfcaefbad3be42e46bd9ba8950bcc3b6380","original_commit_id":"ee5066da4fe2d59376ba36b4ec8ae74c2d934db2","user":{"login":"Aaang","id":4800021,"avatar_url":"https://avatars.githubusercontent.com/u/4800021?v=3","gravatar_id":"","url":"https://api.github.com/users/Aaang","html_url":"https://github.com/Aaang","followers_url":"https://api.github.com/users/Aaang/followers","following_url":"https://api.github.com/users/Aaang/following{/other_user}","gists_url":"https://api.github.com/users/Aaang/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaang/subscriptions","organizations_url":"https://api.github.com/users/Aaang/orgs","repos_url":"https://api.github.com/users/Aaang/repos","events_url":"https://api.github.com/users/Aaang/events{/privacy}","received_events_url":"https://api.github.com/users/Aaang/received_events","type":"User","site_admin":false},"body":"awesome :+1: ","created_at":"2016-03-03T16:35:59Z","updated_at":"2016-03-03T16:35:59Z","html_url":"https://github.com/fastlane/spaceship/pull/244#discussion_r54906352","pull_request_url":"https://api.github.com/repos/fastlane/spaceship/pulls/244","_links":{"self":{"href":"https://api.github.com/repos/fastlane/spaceship/pulls/comments/54906352"},"html":{"href":"https://github.com/fastlane/spaceship/pull/244#discussion_r54906352"},"pull_request":{"href":"https://api.github.com/repos/fastlane/spaceship/pulls/244"}}},"pull_request":{"url":"https://api.github.com/repos/fastlane/spaceship/pulls/244","id":59356224,"html_url":"https://github.com/fastlane/spaceship/pull/244","diff_url":"https://github.com/fastlane/spaceship/pull/244.diff","patch_url":"https://github.com/fastlane/spaceship/pull/244.patch","issue_url":"https://api.github.com/repos/fastlane/spaceship/issues/244","number":244,"state":"open","locked":false,"title":"Added support to fetch ITC pricing tiers","user":{"login":"Aaang","id":4800021,"avatar_url":"https://avatars.githubusercontent.com/u/4800021?v=3","gravatar_id":"","url":"https://api.github.com/users/Aaang","html_url":"https://github.com/Aaang","followers_url":"https://api.github.com/users/Aaang/followers","following_url":"https://api.github.com/users/Aaang/following{/other_user}","gists_url":"https://api.github.com/users/Aaang/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaang/subscriptions","organizations_url":"https://api.github.com/users/Aaang/orgs","repos_url":"https://api.github.com/users/Aaang/repos","events_url":"https://api.github.com/users/Aaang/events{/privacy}","received_events_url":"https://api.github.com/users/Aaang/received_events","type":"User","site_admin":false},"body":"Hi!\r\n\r\nWe're currently automating a lot of manual tasks with the help of Fastlane and spaceship, which is really awesome. One task of the automization process is to update the current pricing tiers and their prices in our database, because prices and countries provided in ITC tend to change from time to time. This was a really annoying manual task up to now, but with spaceship it would boil down to a simple script call.\r\n\r\nSo one could easily request the current ITC pricing tiers.","created_at":"2016-02-15T12:15:32Z","updated_at":"2016-03-03T16:35:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f031971606372cc76fdfe560f767e5387fadfa8b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fastlane/spaceship/pulls/244/commits","review_comments_url":"https://api.github.com/repos/fastlane/spaceship/pulls/244/comments","review_comment_url":"https://api.github.com/repos/fastlane/spaceship/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fastlane/spaceship/issues/244/comments","statuses_url":"https://api.github.com/repos/fastlane/spaceship/statuses/db6f9cfcaefbad3be42e46bd9ba8950bcc3b6380","head":{"label":"Aaang:master","ref":"master","sha":"db6f9cfcaefbad3be42e46bd9ba8950bcc3b6380","user":{"login":"Aaang","id":4800021,"avatar_url":"https://avatars.githubusercontent.com/u/4800021?v=3","gravatar_id":"","url":"https://api.github.com/users/Aaang","html_url":"https://github.com/Aaang","followers_url":"https://api.github.com/users/Aaang/followers","following_url":"https://api.github.com/users/Aaang/following{/other_user}","gists_url":"https://api.github.com/users/Aaang/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaang/subscriptions","organizations_url":"https://api.github.com/users/Aaang/orgs","repos_url":"https://api.github.com/users/Aaang/repos","events_url":"https://api.github.com/users/Aaang/events{/privacy}","received_events_url":"https://api.github.com/users/Aaang/received_events","type":"User","site_admin":false},"repo":{"id":51751426,"name":"spaceship","full_name":"Aaang/spaceship","owner":{"login":"Aaang","id":4800021,"avatar_url":"https://avatars.githubusercontent.com/u/4800021?v=3","gravatar_id":"","url":"https://api.github.com/users/Aaang","html_url":"https://github.com/Aaang","followers_url":"https://api.github.com/users/Aaang/followers","following_url":"https://api.github.com/users/Aaang/following{/other_user}","gists_url":"https://api.github.com/users/Aaang/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaang/subscriptions","organizations_url":"https://api.github.com/users/Aaang/orgs","repos_url":"https://api.github.com/users/Aaang/repos","events_url":"https://api.github.com/users/Aaang/events{/privacy}","received_events_url":"https://api.github.com/users/Aaang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Aaang/spaceship","description":"Ruby library to access the Apple Dev Center and iTunes Connect","fork":true,"url":"https://api.github.com/repos/Aaang/spaceship","forks_url":"https://api.github.com/repos/Aaang/spaceship/forks","keys_url":"https://api.github.com/repos/Aaang/spaceship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aaang/spaceship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aaang/spaceship/teams","hooks_url":"https://api.github.com/repos/Aaang/spaceship/hooks","issue_events_url":"https://api.github.com/repos/Aaang/spaceship/issues/events{/number}","events_url":"https://api.github.com/repos/Aaang/spaceship/events","assignees_url":"https://api.github.com/repos/Aaang/spaceship/assignees{/user}","branches_url":"https://api.github.com/repos/Aaang/spaceship/branches{/branch}","tags_url":"https://api.github.com/repos/Aaang/spaceship/tags","blobs_url":"https://api.github.com/repos/Aaang/spaceship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aaang/spaceship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aaang/spaceship/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aaang/spaceship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aaang/spaceship/statuses/{sha}","languages_url":"https://api.github.com/repos/Aaang/spaceship/languages","stargazers_url":"https://api.github.com/repos/Aaang/spaceship/stargazers","contributors_url":"https://api.github.com/repos/Aaang/spaceship/contributors","subscribers_url":"https://api.github.com/repos/Aaang/spaceship/subscribers","subscription_url":"https://api.github.com/repos/Aaang/spaceship/subscription","commits_url":"https://api.github.com/repos/Aaang/spaceship/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aaang/spaceship/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aaang/spaceship/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aaang/spaceship/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aaang/spaceship/contents/{+path}","compare_url":"https://api.github.com/repos/Aaang/spaceship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aaang/spaceship/merges","archive_url":"https://api.github.com/repos/Aaang/spaceship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aaang/spaceship/downloads","issues_url":"https://api.github.com/repos/Aaang/spaceship/issues{/number}","pulls_url":"https://api.github.com/repos/Aaang/spaceship/pulls{/number}","milestones_url":"https://api.github.com/repos/Aaang/spaceship/milestones{/number}","notifications_url":"https://api.github.com/repos/Aaang/spaceship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aaang/spaceship/labels{/name}","releases_url":"https://api.github.com/repos/Aaang/spaceship/releases{/id}","deployments_url":"https://api.github.com/repos/Aaang/spaceship/deployments","created_at":"2016-02-15T11:34:52Z","updated_at":"2016-02-15T11:34:54Z","pushed_at":"2016-03-03T16:29:50Z","git_url":"git://github.com/Aaang/spaceship.git","ssh_url":"git@github.com:Aaang/spaceship.git","clone_url":"https://github.com/Aaang/spaceship.git","svn_url":"https://github.com/Aaang/spaceship","homepage":"https://spaceship.airforce","size":1748,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"fastlane:master","ref":"master","sha":"2de42e4234067449f9a9056ba96ea334c833685d","user":{"login":"fastlane","id":11098337,"avatar_url":"https://avatars.githubusercontent.com/u/11098337?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlane","html_url":"https://github.com/fastlane","followers_url":"https://api.github.com/users/fastlane/followers","following_url":"https://api.github.com/users/fastlane/following{/other_user}","gists_url":"https://api.github.com/users/fastlane/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlane/subscriptions","organizations_url":"https://api.github.com/users/fastlane/orgs","repos_url":"https://api.github.com/users/fastlane/repos","events_url":"https://api.github.com/users/fastlane/events{/privacy}","received_events_url":"https://api.github.com/users/fastlane/received_events","type":"Organization","site_admin":false},"repo":{"id":33789738,"name":"spaceship","full_name":"fastlane/spaceship","owner":{"login":"fastlane","id":11098337,"avatar_url":"https://avatars.githubusercontent.com/u/11098337?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlane","html_url":"https://github.com/fastlane","followers_url":"https://api.github.com/users/fastlane/followers","following_url":"https://api.github.com/users/fastlane/following{/other_user}","gists_url":"https://api.github.com/users/fastlane/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlane/subscriptions","organizations_url":"https://api.github.com/users/fastlane/orgs","repos_url":"https://api.github.com/users/fastlane/repos","events_url":"https://api.github.com/users/fastlane/events{/privacy}","received_events_url":"https://api.github.com/users/fastlane/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fastlane/spaceship","description":"Ruby library to access the Apple Dev Center and iTunes Connect","fork":false,"url":"https://api.github.com/repos/fastlane/spaceship","forks_url":"https://api.github.com/repos/fastlane/spaceship/forks","keys_url":"https://api.github.com/repos/fastlane/spaceship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fastlane/spaceship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fastlane/spaceship/teams","hooks_url":"https://api.github.com/repos/fastlane/spaceship/hooks","issue_events_url":"https://api.github.com/repos/fastlane/spaceship/issues/events{/number}","events_url":"https://api.github.com/repos/fastlane/spaceship/events","assignees_url":"https://api.github.com/repos/fastlane/spaceship/assignees{/user}","branches_url":"https://api.github.com/repos/fastlane/spaceship/branches{/branch}","tags_url":"https://api.github.com/repos/fastlane/spaceship/tags","blobs_url":"https://api.github.com/repos/fastlane/spaceship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fastlane/spaceship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fastlane/spaceship/git/refs{/sha}","trees_url":"https://api.github.com/repos/fastlane/spaceship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fastlane/spaceship/statuses/{sha}","languages_url":"https://api.github.com/repos/fastlane/spaceship/languages","stargazers_url":"https://api.github.com/repos/fastlane/spaceship/stargazers","contributors_url":"https://api.github.com/repos/fastlane/spaceship/contributors","subscribers_url":"https://api.github.com/repos/fastlane/spaceship/subscribers","subscription_url":"https://api.github.com/repos/fastlane/spaceship/subscription","commits_url":"https://api.github.com/repos/fastlane/spaceship/commits{/sha}","git_commits_url":"https://api.github.com/repos/fastlane/spaceship/git/commits{/sha}","comments_url":"https://api.github.com/repos/fastlane/spaceship/comments{/number}","issue_comment_url":"https://api.github.com/repos/fastlane/spaceship/issues/comments{/number}","contents_url":"https://api.github.com/repos/fastlane/spaceship/contents/{+path}","compare_url":"https://api.github.com/repos/fastlane/spaceship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fastlane/spaceship/merges","archive_url":"https://api.github.com/repos/fastlane/spaceship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fastlane/spaceship/downloads","issues_url":"https://api.github.com/repos/fastlane/spaceship/issues{/number}","pulls_url":"https://api.github.com/repos/fastlane/spaceship/pulls{/number}","milestones_url":"https://api.github.com/repos/fastlane/spaceship/milestones{/number}","notifications_url":"https://api.github.com/repos/fastlane/spaceship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fastlane/spaceship/labels{/name}","releases_url":"https://api.github.com/repos/fastlane/spaceship/releases{/id}","deployments_url":"https://api.github.com/repos/fastlane/spaceship/deployments","created_at":"2015-04-11T19:44:23Z","updated_at":"2016-03-03T14:07:32Z","pushed_at":"2016-03-03T16:29:51Z","git_url":"git://github.com/fastlane/spaceship.git","ssh_url":"git@github.com:fastlane/spaceship.git","clone_url":"https://github.com/fastlane/spaceship.git","svn_url":"https://github.com/fastlane/spaceship","homepage":"https://spaceship.airforce","size":2206,"stargazers_count":697,"watchers_count":697,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":68,"forks":102,"open_issues":68,"watchers":697,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fastlane/spaceship/pulls/244"},"html":{"href":"https://github.com/fastlane/spaceship/pull/244"},"issue":{"href":"https://api.github.com/repos/fastlane/spaceship/issues/244"},"comments":{"href":"https://api.github.com/repos/fastlane/spaceship/issues/244/comments"},"review_comments":{"href":"https://api.github.com/repos/fastlane/spaceship/pulls/244/comments"},"review_comment":{"href":"https://api.github.com/repos/fastlane/spaceship/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fastlane/spaceship/pulls/244/commits"},"statuses":{"href":"https://api.github.com/repos/fastlane/spaceship/statuses/db6f9cfcaefbad3be42e46bd9ba8950bcc3b6380"}}}}