{"action":"created","comment":{"url":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/comments/116390660","pull_request_review_id":38007404,"id":116390660,"diff_hunk":"@@ -0,0 +1,214 @@\n+package edu.mills.cs115;\n+\n+import android.app.Activity;\n+import android.app.SearchManager;\n+import android.content.ContentValues;\n+import android.content.Intent;\n+import android.database.Cursor;\n+import android.database.sqlite.SQLiteDatabase;\n+import android.database.sqlite.SQLiteException;\n+import android.database.sqlite.SQLiteOpenHelper;\n+import android.os.AsyncTask;\n+import android.os.Bundle;\n+import android.util.Log;\n+import android.view.View;\n+import android.webkit.WebView;\n+import android.widget.CheckBox;\n+import android.widget.TextView;\n+import android.widget.Toast;\n+\n+/**\n+ * Handles the intent that performs a term search. Displays a view containing a\n+ * term and a definition in a WebView format. Adds a term to the history database\n+ * when the user has viewed the term.\n+ *\n+ * @author barango\n+ * @author Roberto Amparán (mr.amparan@gmail.com)\n+ * @author Ashley Vo\n+ */\n+public class ResultActivity extends Activity {\n+    public static final String TERM_ON_CLICK = \"\";\n+    private static final String TAG = \"ResultActivity\";\n+\n+    private WebView webDisplay;\n+\n+    private int id;\n+\n+    @Override\n+    public void onCreate(Bundle savedInstanceState) {\n+        Log.d(TAG, \"Entered onCreate()\");\n+        super.onCreate(savedInstanceState);\n+        Log.d(TAG, \"Called super\");\n+        setContentView(R.layout.search_result);\n+        Log.d(TAG, \"called setContentView()\");\n+\n+        Intent intent = getIntent();\n+\n+        Log.d(TAG, \"onCreate(): getIntent() = \" + intent.getExtras());\n+        Log.d(TAG, \"Intent.ACTION_SEARCH.equals(intent.getAction()) = \" + Intent.ACTION_SEARCH.equals(intent.getAction()));\n+        if (Intent.ACTION_SEARCH.equals(intent.getAction())) {\n+            String query = intent.getStringExtra(SearchManager.QUERY);\n+            doTermSearch(query);\n+        } else {\n+            String term = intent.getStringExtra(TERM_ON_CLICK);\n+            Log.d(TAG, \"onCreate(): intent.getStringExtra(TERM_ON_CLICK) = \" + term);\n+            doTermSearch(term);\n+        }\n+    }\n+\n+    /**\n+     * Queries the database for a particular word and displays the result in a WebView.\n+     * Calls the addTermToHistory method to add the term and definition into the database.\n+     *\n+     * @param query the term to query\n+     *\n+     * @author barango\n+     * @author Roberto Amparán (mr.amparan@gmail.com)\n+     * @author Ashley Vo\n+     */\n+    public void doTermSearch(String query) {\n+        Log.v(TAG, \"Reached doTermSearch() with \" + query);\n+        try{\n+            SQLiteOpenHelper dictionaryDatabaseHelper = new DictionaryDatabaseHelper(this);\n+            SQLiteDatabase db = dictionaryDatabaseHelper.getWritableDatabase();\n+            Cursor cursor = db.query(\n+                    DictionaryDatabaseHelper.DICTIONARY_TABLE,\n+                    new String[] {DictionaryDatabaseHelper.ID_COL, DictionaryDatabaseHelper.TERM_COL, DictionaryDatabaseHelper.DEFINITION_COL, DictionaryDatabaseHelper.FAVORITES_COL},\n+                    DictionaryDatabaseHelper.TERM_COL + \" = ?\",\n+                    new String[] {query},\n+                    null,\n+                    null,\n+                    null);\n+            Log.d(TAG, \"doTermSearch() row count: \" + cursor.getCount());\n+            if (cursor.moveToFirst()){\n+                Log.v(TAG, \"cursor.moveToFirst()? \" + cursor.moveToFirst());\n+\n+                // Set id obtained from the cursor to a class variable so that it could be accessed\n+                //by onFavoriteClicked later.\n+                id = cursor.getInt(0);\n+                Log.v(TAG, \"id: \" + id);\n+                String term = cursor.getString(1);\n+                Log.v(TAG, \"cursor move to second?\");\n+                Log.v(TAG, \"term: \" + term);\n+                String definition = cursor.getString(2);\n+                Log.v(TAG, \"cursor move to third?\");\n+                Log.v(TAG, \"definition: \" + definition);\n+                boolean isFavorite = (cursor.getInt(3)==1);\n+                Log.v(TAG, \"cursor move to third?\");\n+                Log.v(TAG, \"isFavorite: \" + isFavorite);\n+\n+                TextView termView = (TextView) findViewById(R.id.term);\n+                termView.setText(term);\n+\n+                webDisplay = (WebView) findViewById(R.id.definition);\n+                webDisplay.getSettings().setJavaScriptEnabled(true);\n+                webDisplay.loadData(definition, \"text/html\", null);\n+\n+                addTermToHistory(term, definition);\n+                Log.v(TAG, \"added term\");\n+\n+                //Populate favorite checkbox\n+                CheckBox favorite = (CheckBox)findViewById(R.id.favorite);\n+                favorite.setChecked(isFavorite);\n+                Log.v(TAG, \"declared checkBox\");\n+            }else {\n+                Toast toast = Toast.makeText(this, \"Term not found\", Toast.LENGTH_SHORT);\n+                toast.show();\n+            }\n+            cursor.close();\n+        } catch (SQLiteException e) {\n+            Toast toast = Toast.makeText(this, \"Database unavailable\", Toast.LENGTH_SHORT);\n+            toast.show();\n+        }\n+    }\n+\n+    /**\n+     * Makes a call to the UpdateFavorite Async class, passing along the ID of the term.\n+     *\n+     * @author Ashley Vo\n+     */\n+    public void onFavoriteClicked (View view) {\n+        Log.v(TAG, \"Entered onFavoriteClicked()\");\n+        new UpdateFavoriteTask().execute(id);\n+\n+        Log.v(TAG, \"executed AsyncTask\");\n+        Log.v(TAG, \"Exited onFavoriteClicked\");\n+    }\n+\n+    /**\n+     * Updates the database when the checkbox is clicked.\n+     *\n+     * @author Ashley Vo\n+     */\n+    private class UpdateFavoriteTask extends AsyncTask<Integer, Void, Boolean> {\n+        ContentValues termValues;\n+\n+        /**\n+         * Loads and store the values of the favorite checkbox.\n+         */\n+        protected void onPreExecute() {\n+            Log.v(TAG, \"Entered onPreExecute()\");\n+            CheckBox favorite = (CheckBox)findViewById(R.id.favorite);\n+            Log.v(TAG, \"Declared favorite variable\");\n+            termValues = new ContentValues();\n+            termValues.put(DictionaryDatabaseHelper.FAVORITES_COL, favorite.isChecked());\n+            Log.v(TAG, \"Set termValues as ContentValues: \" + termValues.toString());\n+        }\n+        /**\n+         * Update Dictionary table.\n+         *\n+         * @param terms array of term ID's\n+         */\n+        protected Boolean doInBackground(Integer... terms) {\n+            Log.v(TAG, \"Entered doInBackground\");\n+            int termNo = terms[0];\n+            Log.v(TAG, \"Set termNo\");\n+            SQLiteOpenHelper dictionaryDatabaseHelper = new DictionaryDatabaseHelper(ResultActivity.this);\n+            Log.v(TAG, \"Created databaseHelper object\");\n+            try {\n+                SQLiteDatabase db = dictionaryDatabaseHelper.getWritableDatabase();\n+                db.update(DictionaryDatabaseHelper.DICTIONARY_TABLE, termValues,\n+                        \"_id = ?\", new String[] {Integer.toString(termNo)});\n+                Log.v(TAG, \"Created Database\");\n+                return true;\n+            } catch(SQLiteException e) {\n+                return false;\n+            }\n+        }\n+        /**\n+         * Display message if database is unavailable.\n+         *\n+         * @param success success, if database is available\n+         */\n+        protected void onPostExecute(Boolean success) {\n+            Log.v(TAG, \"Entered onPostExecute()\");\n+            if (!success) {\n+                Toast toast = Toast.makeText(ResultActivity.this,\n+                        \"Database unavailable\", Toast.LENGTH_SHORT);\n+                toast.show();\n+            }\n+            Log.v(TAG, \"Exited onPostExecute()\");\n+        }\n+    }\n+\n+    /**\n+     * Adds the term to the database.\n+     *\n+     * @param term the term from the query\n+     * @param definition the definition from the query\n+     * @return the row ID of the newly inserted row, or -1 if an error occurred\n+     *\n+     * @author Roberto Amparán (mr.amparan@gmail.com)\n+     */\n+    public long addTermToHistory(String term, String definition) {","path":"app/src/main/java/edu/mills/cs115/ResultActivity.java","position":203,"original_position":203,"commit_id":"1ecb92c853adf8c7321a7173c6a4819cfa9dc771","original_commit_id":"1ecb92c853adf8c7321a7173c6a4819cfa9dc771","user":{"login":"espertus","id":661056,"avatar_url":"https://avatars0.githubusercontent.com/u/661056?v=3","gravatar_id":"","url":"https://api.github.com/users/espertus","html_url":"https://github.com/espertus","followers_url":"https://api.github.com/users/espertus/followers","following_url":"https://api.github.com/users/espertus/following{/other_user}","gists_url":"https://api.github.com/users/espertus/gists{/gist_id}","starred_url":"https://api.github.com/users/espertus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/espertus/subscriptions","organizations_url":"https://api.github.com/users/espertus/orgs","repos_url":"https://api.github.com/users/espertus/repos","events_url":"https://api.github.com/users/espertus/events{/privacy}","received_events_url":"https://api.github.com/users/espertus/received_events","type":"User","site_admin":false},"body":"This should be in a class that's just for interfacing with the database.","created_at":"2017-05-14T21:08:24Z","updated_at":"2017-05-14T21:13:36Z","html_url":"https://github.com/CS-DictionaryTeam/switch/pull/87#discussion_r116390660","pull_request_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/comments/116390660"},"html":{"href":"https://github.com/CS-DictionaryTeam/switch/pull/87#discussion_r116390660"},"pull_request":{"href":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/87","id":120499824,"html_url":"https://github.com/CS-DictionaryTeam/switch/pull/87","diff_url":"https://github.com/CS-DictionaryTeam/switch/pull/87.diff","patch_url":"https://github.com/CS-DictionaryTeam/switch/pull/87.patch","issue_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues/87","number":87,"state":"open","locked":false,"title":"Pull request for comments by Ellen","user":{"login":"ellenspertus","id":27104250,"avatar_url":"https://avatars1.githubusercontent.com/u/27104250?v=3","gravatar_id":"","url":"https://api.github.com/users/ellenspertus","html_url":"https://github.com/ellenspertus","followers_url":"https://api.github.com/users/ellenspertus/followers","following_url":"https://api.github.com/users/ellenspertus/following{/other_user}","gists_url":"https://api.github.com/users/ellenspertus/gists{/gist_id}","starred_url":"https://api.github.com/users/ellenspertus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellenspertus/subscriptions","organizations_url":"https://api.github.com/users/ellenspertus/orgs","repos_url":"https://api.github.com/users/ellenspertus/repos","events_url":"https://api.github.com/users/ellenspertus/events{/privacy}","received_events_url":"https://api.github.com/users/ellenspertus/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-14T20:03:07Z","updated_at":"2017-05-14T21:13:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f896a1a72604e827acef7ca473c3bf15583e2052","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/87/commits","review_comments_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/87/comments","review_comment_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues/87/comments","statuses_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/statuses/1ecb92c853adf8c7321a7173c6a4819cfa9dc771","head":{"label":"CS-DictionaryTeam:master","ref":"master","sha":"1ecb92c853adf8c7321a7173c6a4819cfa9dc771","user":{"login":"CS-DictionaryTeam","id":26984452,"avatar_url":"https://avatars3.githubusercontent.com/u/26984452?v=3","gravatar_id":"","url":"https://api.github.com/users/CS-DictionaryTeam","html_url":"https://github.com/CS-DictionaryTeam","followers_url":"https://api.github.com/users/CS-DictionaryTeam/followers","following_url":"https://api.github.com/users/CS-DictionaryTeam/following{/other_user}","gists_url":"https://api.github.com/users/CS-DictionaryTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/CS-DictionaryTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS-DictionaryTeam/subscriptions","organizations_url":"https://api.github.com/users/CS-DictionaryTeam/orgs","repos_url":"https://api.github.com/users/CS-DictionaryTeam/repos","events_url":"https://api.github.com/users/CS-DictionaryTeam/events{/privacy}","received_events_url":"https://api.github.com/users/CS-DictionaryTeam/received_events","type":"Organization","site_admin":false},"repo":{"id":87481385,"name":"switch","full_name":"CS-DictionaryTeam/switch","owner":{"login":"CS-DictionaryTeam","id":26984452,"avatar_url":"https://avatars3.githubusercontent.com/u/26984452?v=3","gravatar_id":"","url":"https://api.github.com/users/CS-DictionaryTeam","html_url":"https://github.com/CS-DictionaryTeam","followers_url":"https://api.github.com/users/CS-DictionaryTeam/followers","following_url":"https://api.github.com/users/CS-DictionaryTeam/following{/other_user}","gists_url":"https://api.github.com/users/CS-DictionaryTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/CS-DictionaryTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS-DictionaryTeam/subscriptions","organizations_url":"https://api.github.com/users/CS-DictionaryTeam/orgs","repos_url":"https://api.github.com/users/CS-DictionaryTeam/repos","events_url":"https://api.github.com/users/CS-DictionaryTeam/events{/privacy}","received_events_url":"https://api.github.com/users/CS-DictionaryTeam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS-DictionaryTeam/switch","description":null,"fork":false,"url":"https://api.github.com/repos/CS-DictionaryTeam/switch","forks_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/forks","keys_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/teams","hooks_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/hooks","issue_events_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues/events{/number}","events_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/events","assignees_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/assignees{/user}","branches_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/branches{/branch}","tags_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/tags","blobs_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/statuses/{sha}","languages_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/languages","stargazers_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/stargazers","contributors_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/contributors","subscribers_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/subscribers","subscription_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/subscription","commits_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/contents/{+path}","compare_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/merges","archive_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/downloads","issues_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues{/number}","pulls_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls{/number}","milestones_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/milestones{/number}","notifications_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/labels{/name}","releases_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/releases{/id}","deployments_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/deployments","created_at":"2017-04-06T22:38:49Z","updated_at":"2017-04-30T00:14:45Z","pushed_at":"2017-05-14T20:03:07Z","git_url":"git://github.com/CS-DictionaryTeam/switch.git","ssh_url":"git@github.com:CS-DictionaryTeam/switch.git","clone_url":"https://github.com/CS-DictionaryTeam/switch.git","svn_url":"https://github.com/CS-DictionaryTeam/switch","homepage":null,"size":26850,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"CS-DictionaryTeam:grading","ref":"grading","sha":"116cad7ed32f29ec644de849495612e4f5df0976","user":{"login":"CS-DictionaryTeam","id":26984452,"avatar_url":"https://avatars3.githubusercontent.com/u/26984452?v=3","gravatar_id":"","url":"https://api.github.com/users/CS-DictionaryTeam","html_url":"https://github.com/CS-DictionaryTeam","followers_url":"https://api.github.com/users/CS-DictionaryTeam/followers","following_url":"https://api.github.com/users/CS-DictionaryTeam/following{/other_user}","gists_url":"https://api.github.com/users/CS-DictionaryTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/CS-DictionaryTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS-DictionaryTeam/subscriptions","organizations_url":"https://api.github.com/users/CS-DictionaryTeam/orgs","repos_url":"https://api.github.com/users/CS-DictionaryTeam/repos","events_url":"https://api.github.com/users/CS-DictionaryTeam/events{/privacy}","received_events_url":"https://api.github.com/users/CS-DictionaryTeam/received_events","type":"Organization","site_admin":false},"repo":{"id":87481385,"name":"switch","full_name":"CS-DictionaryTeam/switch","owner":{"login":"CS-DictionaryTeam","id":26984452,"avatar_url":"https://avatars3.githubusercontent.com/u/26984452?v=3","gravatar_id":"","url":"https://api.github.com/users/CS-DictionaryTeam","html_url":"https://github.com/CS-DictionaryTeam","followers_url":"https://api.github.com/users/CS-DictionaryTeam/followers","following_url":"https://api.github.com/users/CS-DictionaryTeam/following{/other_user}","gists_url":"https://api.github.com/users/CS-DictionaryTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/CS-DictionaryTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS-DictionaryTeam/subscriptions","organizations_url":"https://api.github.com/users/CS-DictionaryTeam/orgs","repos_url":"https://api.github.com/users/CS-DictionaryTeam/repos","events_url":"https://api.github.com/users/CS-DictionaryTeam/events{/privacy}","received_events_url":"https://api.github.com/users/CS-DictionaryTeam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS-DictionaryTeam/switch","description":null,"fork":false,"url":"https://api.github.com/repos/CS-DictionaryTeam/switch","forks_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/forks","keys_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/teams","hooks_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/hooks","issue_events_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues/events{/number}","events_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/events","assignees_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/assignees{/user}","branches_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/branches{/branch}","tags_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/tags","blobs_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/statuses/{sha}","languages_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/languages","stargazers_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/stargazers","contributors_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/contributors","subscribers_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/subscribers","subscription_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/subscription","commits_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/contents/{+path}","compare_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/merges","archive_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/downloads","issues_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues{/number}","pulls_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls{/number}","milestones_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/milestones{/number}","notifications_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/labels{/name}","releases_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/releases{/id}","deployments_url":"https://api.github.com/repos/CS-DictionaryTeam/switch/deployments","created_at":"2017-04-06T22:38:49Z","updated_at":"2017-04-30T00:14:45Z","pushed_at":"2017-05-14T20:03:07Z","git_url":"git://github.com/CS-DictionaryTeam/switch.git","ssh_url":"git@github.com:CS-DictionaryTeam/switch.git","clone_url":"https://github.com/CS-DictionaryTeam/switch.git","svn_url":"https://github.com/CS-DictionaryTeam/switch","homepage":null,"size":26850,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/87"},"html":{"href":"https://github.com/CS-DictionaryTeam/switch/pull/87"},"issue":{"href":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues/87"},"comments":{"href":"https://api.github.com/repos/CS-DictionaryTeam/switch/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CS-DictionaryTeam/switch/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/CS-DictionaryTeam/switch/statuses/1ecb92c853adf8c7321a7173c6a4819cfa9dc771"}}}}
{"actor":{"display_login":"espertus"}}