{"action":"created","comment":{"url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/comments/51750502","id":51750502,"diff_hunk":"@@ -6,18 +6,23 @@\n + Parse JSON to get clean API data\n \n ## Intro\n-use twitter API to make GET and POST requests to create tweets, view tweets\n-\n+For this lab we will be using the GitHub API to create and view Gists. In this lab you will create a UI that allows users to see a list of their gists and be able to create new ones.\n \n ## Instructions\n-\n-build methods `myTweets();` return current user's 5 most recent tweets\n-\n-`createTweet(\"tweet content\")` to send a tweet\n-\n-`viewTweets(\"username\")` to view a specific user's tweets\n-\n-build a frontend with 3 forms to trigger API calls to display data in the browser\n-\n-needs tests\n-<p data-visibility='hidden'>View <a href='https://learn.co/lessons/js-apis-lab' title='Twitter API'>Twitter API</a> on Learn.co and start learning to code for free.</p>\n+You will need to visit https://github.com/settings/tokens and create a personal token to use. This token allows you to make request data for your account.\n+\n+- Create the method `myGists(username, token)` that returns the gists for a user.\n+- Create the method `createGist(file_name, content, description, token)` that creates a public gist.\n+","path":"README.md","position":30,"original_position":30,"commit_id":"9cd427f7eb2bf4d7bb4c614155858b39c32c0c0c","original_commit_id":"9cd427f7eb2bf4d7bb4c614155858b39c32c0c0c","user":{"login":"vicfriedman","id":3287611,"avatar_url":"https://avatars.githubusercontent.com/u/3287611?v=3","gravatar_id":"","url":"https://api.github.com/users/vicfriedman","html_url":"https://github.com/vicfriedman","followers_url":"https://api.github.com/users/vicfriedman/followers","following_url":"https://api.github.com/users/vicfriedman/following{/other_user}","gists_url":"https://api.github.com/users/vicfriedman/gists{/gist_id}","starred_url":"https://api.github.com/users/vicfriedman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicfriedman/subscriptions","organizations_url":"https://api.github.com/users/vicfriedman/orgs","repos_url":"https://api.github.com/users/vicfriedman/repos","events_url":"https://api.github.com/users/vicfriedman/events{/privacy}","received_events_url":"https://api.github.com/users/vicfriedman/received_events","type":"User","site_admin":false},"body":"solution has function bindCreateButton - which is called in the document ready. need to include that in the instructions","created_at":"2016-02-03T16:53:23Z","updated_at":"2016-02-03T16:53:23Z","html_url":"https://github.com/learn-co-curriculum/js-apis-lab/pull/1#discussion_r51750502","pull_request_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/comments/51750502"},"html":{"href":"https://github.com/learn-co-curriculum/js-apis-lab/pull/1#discussion_r51750502"},"pull_request":{"href":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/1","id":58015143,"html_url":"https://github.com/learn-co-curriculum/js-apis-lab/pull/1","diff_url":"https://github.com/learn-co-curriculum/js-apis-lab/pull/1.diff","patch_url":"https://github.com/learn-co-curriculum/js-apis-lab/pull/1.patch","issue_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues/1","number":1,"state":"open","locked":false,"title":"First Draft","user":{"login":"AnnJohn","id":1892150,"avatar_url":"https://avatars.githubusercontent.com/u/1892150?v=3","gravatar_id":"","url":"https://api.github.com/users/AnnJohn","html_url":"https://github.com/AnnJohn","followers_url":"https://api.github.com/users/AnnJohn/followers","following_url":"https://api.github.com/users/AnnJohn/following{/other_user}","gists_url":"https://api.github.com/users/AnnJohn/gists{/gist_id}","starred_url":"https://api.github.com/users/AnnJohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnnJohn/subscriptions","organizations_url":"https://api.github.com/users/AnnJohn/orgs","repos_url":"https://api.github.com/users/AnnJohn/repos","events_url":"https://api.github.com/users/AnnJohn/events{/privacy}","received_events_url":"https://api.github.com/users/AnnJohn/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-02T16:51:02Z","updated_at":"2016-02-03T16:53:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bdad2d52b27e949659f1496daa79501ca759d71","assignee":{"login":"vicfriedman","id":3287611,"avatar_url":"https://avatars.githubusercontent.com/u/3287611?v=3","gravatar_id":"","url":"https://api.github.com/users/vicfriedman","html_url":"https://github.com/vicfriedman","followers_url":"https://api.github.com/users/vicfriedman/followers","following_url":"https://api.github.com/users/vicfriedman/following{/other_user}","gists_url":"https://api.github.com/users/vicfriedman/gists{/gist_id}","starred_url":"https://api.github.com/users/vicfriedman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicfriedman/subscriptions","organizations_url":"https://api.github.com/users/vicfriedman/orgs","repos_url":"https://api.github.com/users/vicfriedman/repos","events_url":"https://api.github.com/users/vicfriedman/events{/privacy}","received_events_url":"https://api.github.com/users/vicfriedman/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/1/commits","review_comments_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/1/comments","review_comment_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues/1/comments","statuses_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/statuses/9cd427f7eb2bf4d7bb4c614155858b39c32c0c0c","head":{"label":"learn-co-curriculum:cd/first_draft","ref":"cd/first_draft","sha":"9cd427f7eb2bf4d7bb4c614155858b39c32c0c0c","user":{"login":"learn-co-curriculum","id":6208017,"avatar_url":"https://avatars.githubusercontent.com/u/6208017?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"repo":{"id":50241322,"name":"js-apis-lab","full_name":"learn-co-curriculum/js-apis-lab","owner":{"login":"learn-co-curriculum","id":6208017,"avatar_url":"https://avatars.githubusercontent.com/u/6208017?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learn-co-curriculum/js-apis-lab","description":"","fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab","forks_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/releases{/id}","deployments_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/deployments","created_at":"2016-01-23T14:15:33Z","updated_at":"2016-01-23T14:15:33Z","pushed_at":"2016-02-03T16:44:26Z","git_url":"git://github.com/learn-co-curriculum/js-apis-lab.git","ssh_url":"git@github.com:learn-co-curriculum/js-apis-lab.git","clone_url":"https://github.com/learn-co-curriculum/js-apis-lab.git","svn_url":"https://github.com/learn-co-curriculum/js-apis-lab","homepage":null,"size":39,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"learn-co-curriculum:master","ref":"master","sha":"6ba664fc5f5110eb2bc10c5a1f8c5bd626c00ee2","user":{"login":"learn-co-curriculum","id":6208017,"avatar_url":"https://avatars.githubusercontent.com/u/6208017?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"repo":{"id":50241322,"name":"js-apis-lab","full_name":"learn-co-curriculum/js-apis-lab","owner":{"login":"learn-co-curriculum","id":6208017,"avatar_url":"https://avatars.githubusercontent.com/u/6208017?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learn-co-curriculum/js-apis-lab","description":"","fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab","forks_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/releases{/id}","deployments_url":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/deployments","created_at":"2016-01-23T14:15:33Z","updated_at":"2016-01-23T14:15:33Z","pushed_at":"2016-02-03T16:44:26Z","git_url":"git://github.com/learn-co-curriculum/js-apis-lab.git","ssh_url":"git@github.com:learn-co-curriculum/js-apis-lab.git","clone_url":"https://github.com/learn-co-curriculum/js-apis-lab.git","svn_url":"https://github.com/learn-co-curriculum/js-apis-lab","homepage":null,"size":39,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/1"},"html":{"href":"https://github.com/learn-co-curriculum/js-apis-lab/pull/1"},"issue":{"href":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues/1"},"comments":{"href":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/learn-co-curriculum/js-apis-lab/statuses/9cd427f7eb2bf4d7bb4c614155858b39c32c0c0c"}}}}