GitHub PullRequestReviewCommentEvent at 2014-07-10 18:11:42
Repository: dashboards
Actor: angaither
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/DoSomething/dashboards/pulls/comments/14782737","id":14782737,"diff_hunk":"@@ -30,143 +41,173 @@ def nonStaffPicks():\n @app.route('/get-non-staff-picks-data.json')\n def getNonStaffPicksData():\n   cur = openDB()\n-  cur.execute('select campaign, sign_ups, new_members, report_backs from overall.overall where staff_pick = \"n\" and date_add(end_date, interval 7 day) >= curdate() order by sign_ups desc')\n+  cur.execute('select concat(upper(substring(replace(campaign,\"_\",\" \"),1,1)),substring(replace(campaign,\"_\",\" \"),2)) as campaign, sign_ups, new_members, report_backs from overall.overall where staff_pick = \"n\" and date_add(end_date, interval 7 day) >= curdate() order by sign_ups desc')\n   data = cur.fetchall()\n   cur.close()\n   return json.dumps(data)\n \n+#returns cause-level json\n+@app.route('/get-causes.json')\n+def getCausesdata():\n+  cur = openDB()\n+  #all_casues needed for chart\n+  q = \"\"\"\n+  select 'Sex + Relationships' as cause, group_concat(distinct cause) as all_causes, sum(sign_ups) as sign_ups, sum(new_members) as new_members, sum(report_backs) as report_backs, sum(all_traffic) as traffic, round(avg(avg_gate_conversion)*100,2) as conv, count(*) as campaigns from overall.overall where date_add(end_date, interval 14 day) >= curdate() and cause in ('Sex',\"Relationships\") \n+  union all\n+  select 'Homelessness + Poverty' as cause, group_concat(distinct cause) as all_causes, sum(sign_ups) as sign_ups, sum(new_members) as new_members, sum(report_backs) as report_backs, sum(all_traffic) as traffic, round(avg(avg_gate_conversion)*100,2) as conv, count(*) as campaigns from overall.overall where date_add(end_date, interval 14 day) >= curdate() and cause in ('Homelessness',\"Poverty\") \n+  union all\n+  select 'Bullying + Violence' as cause, group_concat(distinct cause) as all_causes, sum(sign_ups) as sign_ups, sum(new_members) as new_members, sum(report_backs) as report_backs, sum(all_traffic) as traffic, round(avg(avg_gate_conversion)*100,2) as conv, count(*) as campaigns from overall.overall where date_add(end_date, interval 14 day) >= curdate() and cause in ('Bullying',\"Violence\") \n+  union all\n+  select 'Health' as cause, group_concat(distinct cause) as all_causes, sum(sign_ups) as sign_ups, sum(new_members) as new_members, sum(report_backs) as report_backs, sum(all_traffic) as traffic, round(avg(avg_gate_conversion)*100,2) as conv, count(*) as campaigns from overall.overall where date_add(end_date, interval 14 day) >= curdate() and cause in ('Mental Health',\"Physical Health\") \n+  union all\n+  select cause, group_concat(distinct cause) as all_causes, sum(sign_ups) as sign_ups, sum(new_members) as new_members, sum(report_backs) as report_backs, sum(all_traffic) as traffic, round(avg(avg_gate_conversion)*100,2) as conv, count(*) as campaigns from overall.overall where date_add(end_date, interval 14 day) >= curdate() and cause not in ('Bullying',\"Violence\",'Mental Health',\"Physical Health\",'Homelessness',\"Poverty\",'Sex',\"Relationships\") group by cause\n+  \"\"\"\n+  cur.execute(q)\n+  data = cur.fetchall()\n+  cur.close()\n+  json.dumps(data)\n+  \n+  return json.dumps(data)\n+\n #returns cause-level page\n @app.route('/causes')\n def causes():\n   return render_template('causes.html')\n \n-#returns homelessness and poverty staff picks campaigns\n-@app.route('/causes/health-and-poverty/staff-picks')\n-def hpStaffPicks():\n-  return render_template('hp-staff-picks.html')\n+#returns cause selection template\n+@app.route('/cause/campaigns', methods=['post'])\n+def causeStaffPicks():\n+  data=request.form['button']\n+  values = data.split('|')\n+  print \"these are the values\", values\n \n-#returns json object array of hp staff picks\n-@app.route('/get-hp-staff-picks-data.json')\n-def getHpStaffPicksData():\n-  cur = openDB()\n-  cur.execute('select campaign, sign_ups, new_members, report_backs from overall.overall where staff_pick = \"y\" and cause in (\"Homelessness\",\"Poverty\") and date_add(end_date, interval 7 day) >= curdate() order by sign_ups desc')\n-  data = cur.fetchall()\n-  cur.close()\n-  return json.dumps(data)\n+  causes_list = values[0].split(\",\")\n \n-#returns homelessness and poverty non-staff picks campaigns\n-@app.route('/causes/health-and-poverty/non-staff-picks')\n-def hpNonStaffPicks():\n-  return render_template('hp-non-staff-picks.html')\n+  staff = values[2]\n \n-#returns json object array of hp non-staff picks\n-@app.route('/get-hp-non-staff-picks-data.json')\n-def getHpNonStaffPicksData():\n+  quoted_causes = ['\"'+str(cause)+'\"' for cause in causes_list]\n+  formatted_causes =  ','.join(quoted_causes)\n   cur = openDB()\n-  cur.execute('select campaign, sign_ups, new_members, report_backs from overall.overall where staff_pick = \"n\" and cause in (\"Homelessness\",\"Poverty\") and date_add(end_date, interval 7 day) >= curdate() order by sign_ups desc')\n+  q = 'select concat(upper(substring(replace(campaign,\"_\",\" \"),1,1)),substring(replace(campaign,\"_\",\" \"),2)) as campaign, sign_ups, new_members, report_backs from overall.overall where staff_pick = \"%s\" and cause in (%s) and date_add(end_date, interval 7 day) >= curdate() order by sign_ups desc' % (staff,formatted_causes)\n+  \n+  cur.execute(q)\n   data = cur.fetchall()\n   cur.close()\n-  return json.dumps(data)\n+  title = values[1]\n+  j = json.dumps(data) \n+  return render_template('cause-campaigns.html', title=title,causes=values[0], j=j )\n \n-#returns campaign selection template\n-@app.route('/form_query', methods=['GET', 'POST'])\n-def form_query():\n-\n-  data =[]\n-  return render_template('form_query.html', data=data )\n-\n-#returns graphed result of input from form_query\n-@app.route('/sortbars', methods=['POST'])\n-def sortbars():\n-  try:\n-\n-    tmp = []\n-    tmp2 = []\n-\n-    c1 = request.form['c1']\n-    c2 = request.form['c2']\n-    metric = request.form['metric']\n-\n-    if metric != 'all_traffic':\n-      c1_query = 'select {1} from {0}.{1}'.format(c1, metric)\n-      cur = openDB()\n-      print c1_query\n-      cur.execute(c1_query)\n-\n-      for i in cur.fetchall():\n-        tmp.append(i[metric])\n-      cur.close()\n-\n-    else:\n-      c1_query = 'select unq_visits from {0}.{1}'.format(c1, metric)\n-      cur = openDB()\n-      print c1_query\n-      cur.execute(c1_query)\n-\n-      for i in cur.fetchall():\n-        tmp.append(i['unq_visits'])\n-      cur.close()\n \n+#returns monthly kpi data\n+@app.route('/monthly-stats')\n \n-    if metric != 'all_traffic':\n-      c2_query = 'select {1} from {0}.{1}'.format(c2, metric)\n-      cur = openDB()\n-      print c2_query\n-      cur.execute(c2_query)\n+def monthly():\n \n-      for i in cur.fetchall():\n-        tmp2.append(i[metric])\n-      cur.close()\n+  cur = openDB()\n+  cur.execute('select date_format(date, \"%M %Y\") as date, new_members_last_12_percent as new_members, engaged_members_last_12_percent as engaged_members, active_members_last_12_percent as active_members, verified_members_last_12_percent as verified_members from members.bod_2014 order by date_format(date, \"%Y-%m-%d\")' )\n+  d = cur.fetchall()\n+  cur.close()\n+  data = json.dumps(d)\n+    \n \n-    else:\n-      c2_query = 'select unq_visits from {0}.{1}'.format(c2, metric)\n-      cur = openDB()\n-      print c2_query\n-      cur.execute(c2_query)\n \n-      for i in cur.fetchall():\n-        tmp2.append(i['unq_visits'])\n-      cur.close()\n \n+  return render_template('monthly-stats.html', data=data )\n \n-    return render_template('sortbars.html', tmp=tmp, tmp2=tmp2, c1=c1,c2=c2, metric=metric )\n-  except:\n-    return render_template('query_error.html')\n \n-#returns monthly kpi data\n-@app.route('/members')\n-def members():\n+@app.route('/test_form', methods=['post'])\n \n+def test_form():\n+  #needed becasue better the formatted campaign name. should add a parameter to the campaign json that is db name so no need to format.\n+  name=str(request.form['vals']).replace(\" \",\"_\").lower()\n+  print name\n+  \n+  q_test = 'select is_sms, staff_pick from {0}.campaign_info'.format(name)\n   cur = openDB()\n-  cur.execute('select date, total_members_abs, new_membrs_abs, engaged_members_abs, verified_members_abs, campaigns_verified_abs, sms_game_verified_abs from members.bod_2014')\n-  predata = []\n-  for i in cur.fetchall():\n-    x = {}\n-    for a in i:\n-      if a == 'date':\n-        x[a]=i[a]\n+  cur.execute(q_test)\n+  data = cur.fetchall()\n+  is_sms = data[0]['is_sms']\n+  is_staff_pick = data[0]['staff_pick']\n+\n+  #queries","path":"flasksite/views.py","position":215,"original_position":215,"commit_id":"c09ef20a211650c9826f72cccfe4aa14958500de","original_commit_id":"c09ef20a211650c9826f72cccfe4aa14958500de","user":{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?","gravatar_id":"eca5e4414ff8ef3c02f6d8ad0d743347","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false},"body":"I like this broken out! :+1: ","created_at":"2014-07-10T18:11:42Z","updated_at":"2014-07-10T18:11:42Z","html_url":"https://github.com/DoSomething/dashboards/pull/9#discussion_r14782737","pull_request_url":"https://api.github.com/repos/DoSomething/dashboards/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/DoSomething/dashboards/pulls/comments/14782737"},"html":{"href":"https://github.com/DoSomething/dashboards/pull/9#discussion_r14782737"},"pull_request":{"href":"https://api.github.com/repos/DoSomething/dashboards/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/DoSomething/dashboards/pulls/9","id":18235194,"html_url":"https://github.com/DoSomething/dashboards/pull/9","diff_url":"https://github.com/DoSomething/dashboards/pull/9.diff","patch_url":"https://github.com/DoSomething/dashboards/pull/9.patch","issue_url":"https://api.github.com/repos/DoSomething/dashboards/issues/9","number":9,"state":"closed","title":"Buttontest","user":{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?","gravatar_id":"eca5e4414ff8ef3c02f6d8ad0d743347","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-07-10T17:51:54Z","updated_at":"2014-07-10T18:11:42Z","closed_at":"2014-07-10T17:55:39Z","merged_at":"2014-07-10T17:55:39Z","merge_commit_sha":"00f98642fcd451fb367d5a542bc5380c192b3104","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DoSomething/dashboards/pulls/9/commits","review_comments_url":"https://api.github.com/repos/DoSomething/dashboards/pulls/9/comments","review_comment_url":"https://api.github.com/repos/DoSomething/dashboards/pulls/comments/{number}","comments_url":"https://api.github.com/repos/DoSomething/dashboards/issues/9/comments","statuses_url":"https://api.github.com/repos/DoSomething/dashboards/statuses/c09ef20a211650c9826f72cccfe4aa14958500de","head":{"label":"DoSomething:buttontest","ref":"buttontest","sha":"c09ef20a211650c9826f72cccfe4aa14958500de","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?","gravatar_id":"e457352193b1425960ed9606ce6e3bad","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":19579852,"name":"dashboards","full_name":"DoSomething/dashboards","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?","gravatar_id":"e457352193b1425960ed9606ce6e3bad","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/dashboards","description":"Powers the data dashboards at DS.org","fork":false,"url":"https://api.github.com/repos/DoSomething/dashboards","forks_url":"https://api.github.com/repos/DoSomething/dashboards/forks","keys_url":"https://api.github.com/repos/DoSomething/dashboards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/dashboards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/dashboards/teams","hooks_url":"https://api.github.com/repos/DoSomething/dashboards/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/dashboards/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/dashboards/events","assignees_url":"https://api.github.com/repos/DoSomething/dashboards/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/dashboards/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/dashboards/tags","blobs_url":"https://api.github.com/repos/DoSomething/dashboards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/dashboards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/dashboards/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/dashboards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/dashboards/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/dashboards/languages","stargazers_url":"https://api.github.com/repos/DoSomething/dashboards/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/dashboards/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/dashboards/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/dashboards/subscription","commits_url":"https://api.github.com/repos/DoSomething/dashboards/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/dashboards/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/dashboards/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/dashboards/issues/comments/{number}","contents_url":"https://api.github.com/repos/DoSomething/dashboards/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/dashboards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/dashboards/merges","archive_url":"https://api.github.com/repos/DoSomething/dashboards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/dashboards/downloads","issues_url":"https://api.github.com/repos/DoSomething/dashboards/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/dashboards/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/dashboards/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/dashboards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/dashboards/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/dashboards/releases{/id}","created_at":"2014-05-08T16:04:51Z","updated_at":"2014-06-26T18:22:14Z","pushed_at":"2014-07-10T17:55:44Z","git_url":"git://github.com/DoSomething/dashboards.git","ssh_url":"git@github.com:DoSomething/dashboards.git","clone_url":"https://github.com/DoSomething/dashboards.git","svn_url":"https://github.com/DoSomething/dashboards","homepage":null,"size":1657,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"DoSomething:master","ref":"master","sha":"f16bdcad9fe5fe935e3eaba4b9a3e5c9aa370dab","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?","gravatar_id":"e457352193b1425960ed9606ce6e3bad","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":19579852,"name":"dashboards","full_name":"DoSomething/dashboards","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?","gravatar_id":"e457352193b1425960ed9606ce6e3bad","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/dashboards","description":"Powers the data dashboards at DS.org","fork":false,"url":"https://api.github.com/repos/DoSomething/dashboards","forks_url":"https://api.github.com/repos/DoSomething/dashboards/forks","keys_url":"https://api.github.com/repos/DoSomething/dashboards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/dashboards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/dashboards/teams","hooks_url":"https://api.github.com/repos/DoSomething/dashboards/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/dashboards/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/dashboards/events","assignees_url":"https://api.github.com/repos/DoSomething/dashboards/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/dashboards/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/dashboards/tags","blobs_url":"https://api.github.com/repos/DoSomething/dashboards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/dashboards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/dashboards/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/dashboards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/dashboards/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/dashboards/languages","stargazers_url":"https://api.github.com/repos/DoSomething/dashboards/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/dashboards/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/dashboards/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/dashboards/subscription","commits_url":"https://api.github.com/repos/DoSomething/dashboards/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/dashboards/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/dashboards/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/dashboards/issues/comments/{number}","contents_url":"https://api.github.com/repos/DoSomething/dashboards/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/dashboards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/dashboards/merges","archive_url":"https://api.github.com/repos/DoSomething/dashboards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/dashboards/downloads","issues_url":"https://api.github.com/repos/DoSomething/dashboards/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/dashboards/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/dashboards/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/dashboards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/dashboards/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/dashboards/releases{/id}","created_at":"2014-05-08T16:04:51Z","updated_at":"2014-06-26T18:22:14Z","pushed_at":"2014-07-10T17:55:44Z","git_url":"git://github.com/DoSomething/dashboards.git","ssh_url":"git@github.com:DoSomething/dashboards.git","clone_url":"https://github.com/DoSomething/dashboards.git","svn_url":"https://github.com/DoSomething/dashboards","homepage":null,"size":1657,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DoSomething/dashboards/pulls/9"},"html":{"href":"https://github.com/DoSomething/dashboards/pull/9"},"issue":{"href":"https://api.github.com/repos/DoSomething/dashboards/issues/9"},"comments":{"href":"https://api.github.com/repos/DoSomething/dashboards/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/DoSomething/dashboards/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/DoSomething/dashboards/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/DoSomething/dashboards/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/DoSomething/dashboards/statuses/c09ef20a211650c9826f72cccfe4aa14958500de"}}}}