{"action":"created","comment":{"url":"https://api.github.com/repos/loklak/loklak_server/pulls/comments/75494844","id":75494844,"diff_hunk":"@@ -0,0 +1,160 @@\n+/**\n+ *  AmazonProductService\n+ *  Copyright 05.08.2016 by Shiven Mian, @shivenmian\n+ *\n+ *  This library is free software; you can redistribute it and/or\n+ *  modify it under the terms of the GNU Lesser General Public\n+ *  License as published by the Free Software Foundation; either\n+ *  version 2.1 of the License, or (at your option) any later version.\n+ *  \n+ *  This library is distributed in the hope that it will be useful,\n+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+ *  Lesser General Public License for more details.\n+ *  \n+ *  You should have received a copy of the GNU Lesser General Public License\n+ *  along with this program in the file lgpl21.txt\n+ *  If not, see <http://www.gnu.org/licenses/>.\n+ */\n+\n+package org.loklak.api.amazon;\n+\n+import java.io.StringWriter;\n+\n+import javax.servlet.http.HttpServletResponse;\n+import javax.xml.parsers.DocumentBuilder;\n+import javax.xml.parsers.DocumentBuilderFactory;\n+import javax.xml.transform.Transformer;\n+import javax.xml.transform.TransformerFactory;\n+import javax.xml.transform.dom.DOMSource;\n+import javax.xml.transform.stream.StreamResult;\n+\n+import org.json.JSONObject;\n+import org.json.XML;\n+import org.loklak.server.APIException;\n+import org.loklak.server.APIHandler;\n+import org.loklak.server.AbstractAPIHandler;\n+import org.loklak.server.Authorization;\n+import org.loklak.server.BaseUserRole;\n+import org.loklak.server.Query;\n+import org.loklak.tools.storage.JSONObjectWithDefault;\n+import org.w3c.dom.Document;\n+\n+public class AmazonProductService extends AbstractAPIHandler implements APIHandler {\n+\n+\tprivate static final long serialVersionUID = 2279773523424505716L;\n+\n+\t// keys available on request\n+\tprivate static final String AWS_ACCESS_KEY_ID = \"\";\n+\tprivate static final String AWS_SECRET_KEY = \"\";\n+\tprivate static final String ASSOCIATE_TAG = \"\";\n+\n+\t// using the USA locale\n+\tprivate static final String ENDPOINT = \"webservices.amazon.com\";\n+\n+\t@Override\n+\tpublic String getAPIPath() {\n+\t\treturn \"/cms/amazonservice.json\";\n+\t}\n+\n+\t@Override\n+\tpublic BaseUserRole getMinimalBaseUserRole() {\n+\t\treturn BaseUserRole.ANONYMOUS;\n+\t}\n+\n+\t@Override\n+\tpublic JSONObject getDefaultPermissions(BaseUserRole baseUserRole) {\n+\t\treturn null;\n+\t}\n+\n+\tpublic static JSONObject fetchResults(String requestUrl, String operation) {\n+\t\tJSONObject itemlookup = new JSONObject(true);\n+\t\ttry {\n+\t\t\tDocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n+\t\t\tDocumentBuilder db = dbf.newDocumentBuilder();\n+\t\t\tDocument doc = db.parse(requestUrl);\n+\t\t\tDOMSource domSource = new DOMSource(doc);\n+\t\t\tStringWriter writer = new StringWriter();\n+\t\t\tStreamResult result = new StreamResult(writer);\n+\t\t\tTransformerFactory tf = TransformerFactory.newInstance();\n+\t\t\tTransformer transformer = tf.newTransformer();\n+\t\t\ttransformer.transform(domSource, result);\n+\t\t\tJSONObject xmlresult = new JSONObject(true);\n+\t\t\txmlresult = XML.toJSONObject(writer.toString());\n+\t\t\tJSONObject items = xmlresult.getJSONObject(operation).getJSONObject(\"Items\");\n+\t\t\tif (items.getJSONObject(\"Request\").has(\"Errors\")) {\n+\t\t\t\titemlookup.put(\"status\", \"error\");\n+\t\t\t\titemlookup.put(\"reason\",\n+\t\t\t\t\t\titems.getJSONObject(\"Request\").getJSONObject(\"Errors\").getJSONObject(\"Error\").get(\"Message\"));","path":"src/org/loklak/api/amazon/AmazonProductService.java","position":90,"original_position":88,"commit_id":"ae2b6a1bc3e9eee72c40862010b7070fc9f6719d","original_commit_id":"7bd4e2a005fefee6863e2128f9ab7bcf198d58ba","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":"Yes. I am implementing the ItemLookup and the ItemSearch API, and they are always in this format.\r\n\r\nThere are other APIs too: like SimilarityLookup etc, but the result of SimilarityLookup (and all the other APIs) comes when ```response_group=Large```, and as I wrote it's that by default in my code, so if you want all the results, just fetch an ```id``` or a ```q``` and leave response_group blank.","created_at":"2016-08-19T14:49:38Z","updated_at":"2016-08-19T14:49:38Z","html_url":"https://github.com/loklak/loklak_server/pull/800#discussion_r75494844","pull_request_url":"https://api.github.com/repos/loklak/loklak_server/pulls/800","_links":{"self":{"href":"https://api.github.com/repos/loklak/loklak_server/pulls/comments/75494844"},"html":{"href":"https://github.com/loklak/loklak_server/pull/800#discussion_r75494844"},"pull_request":{"href":"https://api.github.com/repos/loklak/loklak_server/pulls/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":"open","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-19T14:49:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e72812ffc807abdd83fe343d23f5481fcd0a467e","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":62,"closed_issues":0,"state":"open","created_at":"2016-05-19T14:57:52Z","updated_at":"2016-08-19T10:54:58Z","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/ae2b6a1bc3e9eee72c40862010b7070fc9f6719d","head":{"label":"shivenmian:AmazonAPI","ref":"AmazonAPI","sha":"ae2b6a1bc3e9eee72c40862010b7070fc9f6719d","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-19T14:47:34Z","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":"335b0cfd8185d375aa62d666c588d55ff6e6df7e","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-19T14:47:34Z","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":206708,"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":81,"forks":91,"open_issues":81,"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/ae2b6a1bc3e9eee72c40862010b7070fc9f6719d"}}}}
{"actor":{"display_login":"shivenmian"}}