{"action":"closed","number":800,"pull_request":{"url":"https://api.github.com/repos/loklak/loklak_server/pulls/800","id":80337992,"html_url":"https://github.com/loklak/loklak_server/pull/800","diff_url":"https://github.com/loklak/loklak_server/pull/800.diff","patch_url":"https://github.com/loklak/loklak_server/pull/800.patch","issue_url":"https://api.github.com/repos/loklak/loklak_server/issues/800","number":800,"state":"closed","locked":false,"title":"Fixes #750: Implement Amazon API","user":{"login":"shivenmian","id":14081800,"avatar_url":"https://avatars.githubusercontent.com/u/14081800?v=3","gravatar_id":"","url":"https://api.github.com/users/shivenmian","html_url":"https://github.com/shivenmian","followers_url":"https://api.github.com/users/shivenmian/followers","following_url":"https://api.github.com/users/shivenmian/following{/other_user}","gists_url":"https://api.github.com/users/shivenmian/gists{/gist_id}","starred_url":"https://api.github.com/users/shivenmian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivenmian/subscriptions","organizations_url":"https://api.github.com/users/shivenmian/orgs","repos_url":"https://api.github.com/users/shivenmian/repos","events_url":"https://api.github.com/users/shivenmian/events{/privacy}","received_events_url":"https://api.github.com/users/shivenmian/received_events","type":"User","site_admin":false},"body":"@mariobehling @Orbiter \r\n\r\nI have implemented one part of the Amazon Product Advertising API integration, the ItemLookup API. \r\n\r\nSupply an ASIN / Product ID, and if the product is in the database (and if it's approved by it's parent company to be displayed by the API), it gives you necessary info about the result.\r\n\r\nFor searches like Apple Products (I did a search on iPhone), it isn't available in the Advertising API, because Apple does not want to display the prices of its products that way or something.\r\n\r\nIf you wish to test, please contact me. I have the AWS Keys and the Associate Tags, which I can't display here right now. I think these fields should be supplied as a GET parameter instead.\r\n\r\nTODO:\r\n\r\n* [x] Make it more efficient. The Amazon API is a SOAP API, not REST. Some parameters are available in some products, some aren't.\r\n\r\n* [x] Have a feature to list other variants of the product, and possibly list the cheapest variant too.\r\n\r\n* [x] Add the SimilarityLookup and ItemSearch API (in ItemSearch, you have Search by Product Name).\r\n\r\nScreenshot: \r\n\r\n<img width=\"869\" alt=\"screen shot 2016-08-06 at 5 01 01 pm\" src=\"https://cloud.githubusercontent.com/assets/14081800/17456509/6799a5d2-5bf7-11e6-9fb6-5b3f44028fd4.png\">\r\n\r\n","created_at":"2016-08-06T11:28:45Z","updated_at":"2016-08-19T18:51:00Z","closed_at":"2016-08-19T18:51:00Z","merged_at":"2016-08-19T18:51:00Z","merge_commit_sha":"613e54378e7fedce5524ab67d96b27c8f256dca0","assignee":{"login":"mariobehling","id":1583873,"avatar_url":"https://avatars.githubusercontent.com/u/1583873?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobehling","html_url":"https://github.com/mariobehling","followers_url":"https://api.github.com/users/mariobehling/followers","following_url":"https://api.github.com/users/mariobehling/following{/other_user}","gists_url":"https://api.github.com/users/mariobehling/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobehling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobehling/subscriptions","organizations_url":"https://api.github.com/users/mariobehling/orgs","repos_url":"https://api.github.com/users/mariobehling/repos","events_url":"https://api.github.com/users/mariobehling/events{/privacy}","received_events_url":"https://api.github.com/users/mariobehling/received_events","type":"User","site_admin":false},"assignees":[{"login":"mariobehling","id":1583873,"avatar_url":"https://avatars.githubusercontent.com/u/1583873?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobehling","html_url":"https://github.com/mariobehling","followers_url":"https://api.github.com/users/mariobehling/followers","following_url":"https://api.github.com/users/mariobehling/following{/other_user}","gists_url":"https://api.github.com/users/mariobehling/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobehling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobehling/subscriptions","organizations_url":"https://api.github.com/users/mariobehling/orgs","repos_url":"https://api.github.com/users/mariobehling/repos","events_url":"https://api.github.com/users/mariobehling/events{/privacy}","received_events_url":"https://api.github.com/users/mariobehling/received_events","type":"User","site_admin":false},{"login":"sudheesh001","id":4545925,"avatar_url":"https://avatars.githubusercontent.com/u/4545925?v=3","gravatar_id":"","url":"https://api.github.com/users/sudheesh001","html_url":"https://github.com/sudheesh001","followers_url":"https://api.github.com/users/sudheesh001/followers","following_url":"https://api.github.com/users/sudheesh001/following{/other_user}","gists_url":"https://api.github.com/users/sudheesh001/gists{/gist_id}","starred_url":"https://api.github.com/users/sudheesh001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudheesh001/subscriptions","organizations_url":"https://api.github.com/users/sudheesh001/orgs","repos_url":"https://api.github.com/users/sudheesh001/repos","events_url":"https://api.github.com/users/sudheesh001/events{/privacy}","received_events_url":"https://api.github.com/users/sudheesh001/received_events","type":"User","site_admin":false},{"login":"shivenmian","id":14081800,"avatar_url":"https://avatars.githubusercontent.com/u/14081800?v=3","gravatar_id":"","url":"https://api.github.com/users/shivenmian","html_url":"https://github.com/shivenmian","followers_url":"https://api.github.com/users/shivenmian/followers","following_url":"https://api.github.com/users/shivenmian/following{/other_user}","gists_url":"https://api.github.com/users/shivenmian/gists{/gist_id}","starred_url":"https://api.github.com/users/shivenmian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivenmian/subscriptions","organizations_url":"https://api.github.com/users/shivenmian/orgs","repos_url":"https://api.github.com/users/shivenmian/repos","events_url":"https://api.github.com/users/shivenmian/events{/privacy}","received_events_url":"https://api.github.com/users/shivenmian/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/loklak/loklak_server/milestones/14","html_url":"https://github.com/loklak/loklak_server/milestones/GSOC%202016%20Milestone%2014%20(Final%20Evalutation)","labels_url":"https://api.github.com/repos/loklak/loklak_server/milestones/14/labels","id":1776678,"number":14,"title":"GSOC 2016 Milestone 14 (Final Evalutation)","description":"GSOC 2016 Milestone 14 - All issues to be completed by 21st August 2016.\r\n\r\nInstructions: \r\n1. Create issues to work on.\r\n2. Assign the issue to the milestone.\r\n3. Assign the issue to a user (yourself)\r\n\r\nCompleted Milestone:\r\n1. Create a blog post describing what has been done\r\n2. Tag a release\r\n3. Deployment","creator":{"login":"hpdang","id":1658742,"avatar_url":"https://avatars.githubusercontent.com/u/1658742?v=3","gravatar_id":"","url":"https://api.github.com/users/hpdang","html_url":"https://github.com/hpdang","followers_url":"https://api.github.com/users/hpdang/followers","following_url":"https://api.github.com/users/hpdang/following{/other_user}","gists_url":"https://api.github.com/users/hpdang/gists{/gist_id}","starred_url":"https://api.github.com/users/hpdang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpdang/subscriptions","organizations_url":"https://api.github.com/users/hpdang/orgs","repos_url":"https://api.github.com/users/hpdang/repos","events_url":"https://api.github.com/users/hpdang/events{/privacy}","received_events_url":"https://api.github.com/users/hpdang/received_events","type":"User","site_admin":false},"open_issues":59,"closed_issues":3,"state":"open","created_at":"2016-05-19T14:57:52Z","updated_at":"2016-08-19T18:51:00Z","due_on":"2016-08-20T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/loklak/loklak_server/pulls/800/commits","review_comments_url":"https://api.github.com/repos/loklak/loklak_server/pulls/800/comments","review_comment_url":"https://api.github.com/repos/loklak/loklak_server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/loklak/loklak_server/issues/800/comments","statuses_url":"https://api.github.com/repos/loklak/loklak_server/statuses/beb8704994969902a1d45468027f53944206ee73","head":{"label":"shivenmian:AmazonAPI","ref":"AmazonAPI","sha":"beb8704994969902a1d45468027f53944206ee73","user":{"login":"shivenmian","id":14081800,"avatar_url":"https://avatars.githubusercontent.com/u/14081800?v=3","gravatar_id":"","url":"https://api.github.com/users/shivenmian","html_url":"https://github.com/shivenmian","followers_url":"https://api.github.com/users/shivenmian/followers","following_url":"https://api.github.com/users/shivenmian/following{/other_user}","gists_url":"https://api.github.com/users/shivenmian/gists{/gist_id}","starred_url":"https://api.github.com/users/shivenmian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivenmian/subscriptions","organizations_url":"https://api.github.com/users/shivenmian/orgs","repos_url":"https://api.github.com/users/shivenmian/repos","events_url":"https://api.github.com/users/shivenmian/events{/privacy}","received_events_url":"https://api.github.com/users/shivenmian/received_events","type":"User","site_admin":false},"repo":{"id":63351425,"name":"loklak_server","full_name":"shivenmian/loklak_server","owner":{"login":"shivenmian","id":14081800,"avatar_url":"https://avatars.githubusercontent.com/u/14081800?v=3","gravatar_id":"","url":"https://api.github.com/users/shivenmian","html_url":"https://github.com/shivenmian","followers_url":"https://api.github.com/users/shivenmian/followers","following_url":"https://api.github.com/users/shivenmian/following{/other_user}","gists_url":"https://api.github.com/users/shivenmian/gists{/gist_id}","starred_url":"https://api.github.com/users/shivenmian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivenmian/subscriptions","organizations_url":"https://api.github.com/users/shivenmian/orgs","repos_url":"https://api.github.com/users/shivenmian/repos","events_url":"https://api.github.com/users/shivenmian/events{/privacy}","received_events_url":"https://api.github.com/users/shivenmian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shivenmian/loklak_server","description":"Distributed message search server to anonymously collect, share, dump and index tweet search results.","fork":true,"url":"https://api.github.com/repos/shivenmian/loklak_server","forks_url":"https://api.github.com/repos/shivenmian/loklak_server/forks","keys_url":"https://api.github.com/repos/shivenmian/loklak_server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shivenmian/loklak_server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shivenmian/loklak_server/teams","hooks_url":"https://api.github.com/repos/shivenmian/loklak_server/hooks","issue_events_url":"https://api.github.com/repos/shivenmian/loklak_server/issues/events{/number}","events_url":"https://api.github.com/repos/shivenmian/loklak_server/events","assignees_url":"https://api.github.com/repos/shivenmian/loklak_server/assignees{/user}","branches_url":"https://api.github.com/repos/shivenmian/loklak_server/branches{/branch}","tags_url":"https://api.github.com/repos/shivenmian/loklak_server/tags","blobs_url":"https://api.github.com/repos/shivenmian/loklak_server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shivenmian/loklak_server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shivenmian/loklak_server/git/refs{/sha}","trees_url":"https://api.github.com/repos/shivenmian/loklak_server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shivenmian/loklak_server/statuses/{sha}","languages_url":"https://api.github.com/repos/shivenmian/loklak_server/languages","stargazers_url":"https://api.github.com/repos/shivenmian/loklak_server/stargazers","contributors_url":"https://api.github.com/repos/shivenmian/loklak_server/contributors","subscribers_url":"https://api.github.com/repos/shivenmian/loklak_server/subscribers","subscription_url":"https://api.github.com/repos/shivenmian/loklak_server/subscription","commits_url":"https://api.github.com/repos/shivenmian/loklak_server/commits{/sha}","git_commits_url":"https://api.github.com/repos/shivenmian/loklak_server/git/commits{/sha}","comments_url":"https://api.github.com/repos/shivenmian/loklak_server/comments{/number}","issue_comment_url":"https://api.github.com/repos/shivenmian/loklak_server/issues/comments{/number}","contents_url":"https://api.github.com/repos/shivenmian/loklak_server/contents/{+path}","compare_url":"https://api.github.com/repos/shivenmian/loklak_server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shivenmian/loklak_server/merges","archive_url":"https://api.github.com/repos/shivenmian/loklak_server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shivenmian/loklak_server/downloads","issues_url":"https://api.github.com/repos/shivenmian/loklak_server/issues{/number}","pulls_url":"https://api.github.com/repos/shivenmian/loklak_server/pulls{/number}","milestones_url":"https://api.github.com/repos/shivenmian/loklak_server/milestones{/number}","notifications_url":"https://api.github.com/repos/shivenmian/loklak_server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shivenmian/loklak_server/labels{/name}","releases_url":"https://api.github.com/repos/shivenmian/loklak_server/releases{/id}","deployments_url":"https://api.github.com/repos/shivenmian/loklak_server/deployments","created_at":"2016-07-14T16:14:25Z","updated_at":"2016-07-14T16:14:27Z","pushed_at":"2016-08-19T18:00:22Z","git_url":"git://github.com/shivenmian/loklak_server.git","ssh_url":"git@github.com:shivenmian/loklak_server.git","clone_url":"https://github.com/shivenmian/loklak_server.git","svn_url":"https://github.com/shivenmian/loklak_server","homepage":"http://loklak.org","size":205329,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"loklak:development","ref":"development","sha":"dd1c76dbd3c06802b159183efbd63a574d8bd28d","user":{"login":"loklak","id":11370631,"avatar_url":"https://avatars.githubusercontent.com/u/11370631?v=3","gravatar_id":"","url":"https://api.github.com/users/loklak","html_url":"https://github.com/loklak","followers_url":"https://api.github.com/users/loklak/followers","following_url":"https://api.github.com/users/loklak/following{/other_user}","gists_url":"https://api.github.com/users/loklak/gists{/gist_id}","starred_url":"https://api.github.com/users/loklak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loklak/subscriptions","organizations_url":"https://api.github.com/users/loklak/orgs","repos_url":"https://api.github.com/users/loklak/repos","events_url":"https://api.github.com/users/loklak/events{/privacy}","received_events_url":"https://api.github.com/users/loklak/received_events","type":"Organization","site_admin":false},"repo":{"id":32751172,"name":"loklak_server","full_name":"loklak/loklak_server","owner":{"login":"loklak","id":11370631,"avatar_url":"https://avatars.githubusercontent.com/u/11370631?v=3","gravatar_id":"","url":"https://api.github.com/users/loklak","html_url":"https://github.com/loklak","followers_url":"https://api.github.com/users/loklak/followers","following_url":"https://api.github.com/users/loklak/following{/other_user}","gists_url":"https://api.github.com/users/loklak/gists{/gist_id}","starred_url":"https://api.github.com/users/loklak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loklak/subscriptions","organizations_url":"https://api.github.com/users/loklak/orgs","repos_url":"https://api.github.com/users/loklak/repos","events_url":"https://api.github.com/users/loklak/events{/privacy}","received_events_url":"https://api.github.com/users/loklak/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/loklak/loklak_server","description":"Distributed message search server to anonymously collect, share, dump and index tweet search results.","fork":false,"url":"https://api.github.com/repos/loklak/loklak_server","forks_url":"https://api.github.com/repos/loklak/loklak_server/forks","keys_url":"https://api.github.com/repos/loklak/loklak_server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loklak/loklak_server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loklak/loklak_server/teams","hooks_url":"https://api.github.com/repos/loklak/loklak_server/hooks","issue_events_url":"https://api.github.com/repos/loklak/loklak_server/issues/events{/number}","events_url":"https://api.github.com/repos/loklak/loklak_server/events","assignees_url":"https://api.github.com/repos/loklak/loklak_server/assignees{/user}","branches_url":"https://api.github.com/repos/loklak/loklak_server/branches{/branch}","tags_url":"https://api.github.com/repos/loklak/loklak_server/tags","blobs_url":"https://api.github.com/repos/loklak/loklak_server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loklak/loklak_server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loklak/loklak_server/git/refs{/sha}","trees_url":"https://api.github.com/repos/loklak/loklak_server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loklak/loklak_server/statuses/{sha}","languages_url":"https://api.github.com/repos/loklak/loklak_server/languages","stargazers_url":"https://api.github.com/repos/loklak/loklak_server/stargazers","contributors_url":"https://api.github.com/repos/loklak/loklak_server/contributors","subscribers_url":"https://api.github.com/repos/loklak/loklak_server/subscribers","subscription_url":"https://api.github.com/repos/loklak/loklak_server/subscription","commits_url":"https://api.github.com/repos/loklak/loklak_server/commits{/sha}","git_commits_url":"https://api.github.com/repos/loklak/loklak_server/git/commits{/sha}","comments_url":"https://api.github.com/repos/loklak/loklak_server/comments{/number}","issue_comment_url":"https://api.github.com/repos/loklak/loklak_server/issues/comments{/number}","contents_url":"https://api.github.com/repos/loklak/loklak_server/contents/{+path}","compare_url":"https://api.github.com/repos/loklak/loklak_server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loklak/loklak_server/merges","archive_url":"https://api.github.com/repos/loklak/loklak_server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loklak/loklak_server/downloads","issues_url":"https://api.github.com/repos/loklak/loklak_server/issues{/number}","pulls_url":"https://api.github.com/repos/loklak/loklak_server/pulls{/number}","milestones_url":"https://api.github.com/repos/loklak/loklak_server/milestones{/number}","notifications_url":"https://api.github.com/repos/loklak/loklak_server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loklak/loklak_server/labels{/name}","releases_url":"https://api.github.com/repos/loklak/loklak_server/releases{/id}","deployments_url":"https://api.github.com/repos/loklak/loklak_server/deployments","created_at":"2015-03-23T18:32:59Z","updated_at":"2016-08-13T06:55:42Z","pushed_at":"2016-08-19T18:51:00Z","git_url":"git://github.com/loklak/loklak_server.git","ssh_url":"git@github.com:loklak/loklak_server.git","clone_url":"https://github.com/loklak/loklak_server.git","svn_url":"https://github.com/loklak/loklak_server","homepage":"http://loklak.org","size":206734,"stargazers_count":53,"watchers_count":53,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"open_issues_count":78,"forks":91,"open_issues":78,"watchers":53,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/loklak/loklak_server/pulls/800"},"html":{"href":"https://github.com/loklak/loklak_server/pull/800"},"issue":{"href":"https://api.github.com/repos/loklak/loklak_server/issues/800"},"comments":{"href":"https://api.github.com/repos/loklak/loklak_server/issues/800/comments"},"review_comments":{"href":"https://api.github.com/repos/loklak/loklak_server/pulls/800/comments"},"review_comment":{"href":"https://api.github.com/repos/loklak/loklak_server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/loklak/loklak_server/pulls/800/commits"},"statuses":{"href":"https://api.github.com/repos/loklak/loklak_server/statuses/beb8704994969902a1d45468027f53944206ee73"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sudheesh001","id":4545925,"avatar_url":"https://avatars.githubusercontent.com/u/4545925?v=3","gravatar_id":"","url":"https://api.github.com/users/sudheesh001","html_url":"https://github.com/sudheesh001","followers_url":"https://api.github.com/users/sudheesh001/followers","following_url":"https://api.github.com/users/sudheesh001/following{/other_user}","gists_url":"https://api.github.com/users/sudheesh001/gists{/gist_id}","starred_url":"https://api.github.com/users/sudheesh001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudheesh001/subscriptions","organizations_url":"https://api.github.com/users/sudheesh001/orgs","repos_url":"https://api.github.com/users/sudheesh001/repos","events_url":"https://api.github.com/users/sudheesh001/events{/privacy}","received_events_url":"https://api.github.com/users/sudheesh001/received_events","type":"User","site_admin":false},"comments":5,"review_comments":4,"commits":1,"additions":469,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"sudheesh001"}}