{"action":"created","comment":{"url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/comments/171452729","pull_request_review_id":100304679,"id":171452729,"diff_hunk":"@@ -0,0 +1,109 @@\n+---\n+layout: post\n+title:  Swiftfall\n+date:   2018-02-228 21:25:00\n+categories: projects\n+description: A wrapper for an API called Scryfall.\n+author: Braden Bowdish\n+author-image: https://avatars2.githubusercontent.com/u/15185628?s=460&v=4\n+author-bio: Lover of Swift and Magic. 3rd year member of  Computer Science House\n+author-email: bmbowdish@csh.rit.edu\n+author-social:\n+  github: https://github.com/bmbowdish\n+---\n+\n+# What is Swiftfall? \n+\n+Swiftfall is a wrapper written in Swift for the API Scryfall.\n+\n+[Documentation for Scryfall API.](https://scryfall.com/docs/api)\n+\n+Scryfall is API which handles information about the card game Magic: The Gathering. \n+\n+I like Magic the Gathering, but getting tons of information about Magic cards is really annoying. Especially if you don't want to or don't know how to implement a JSON parser or making requests to a website. Many newer developers would like to combine their passions but it's not always easy. \n+\n+Thankfully, someone already found a solution to this problem. [Scrython does this already, but in Python.](https://github.com/nandascott/Scrython) Despite this, I decided to work on a similar project in Swift. \n+\n+### Why Swift Was Appealing\n+1) Swift's use of optionals was really appealing.\n+2) Swift has a JSON decoder built in and it is appealing to have no dependencies.\n+3) iOS, Apple TV, Apple Watch, and MacOS development is easy in Swift\n+4) Swift is new, and it is fun to do things never done before \n+\n+# How do you use Swiftfall? \n+First, create an executable package. The executable includes a Hello World function by default. \n+```\n+$ mkdir MyExecutable\n+$ cd MyExecutable\n+$ swift package init --type executable\n+$ swift build\n+$ swift run\n+Hello, World!\n+```\n+\n+Next, \n+\n+```\n+$ swift package generate-xcodeproj\n+```\n+Then, set Swiftfall as a dependency for the executable.","path":"_posts/2018-02-28-swiftfall.md","position":49,"original_position":49,"commit_id":"cb424aa3544e005b198c5d0b0807d64e801a0d74","original_commit_id":"cb424aa3544e005b198c5d0b0807d64e801a0d74","user":{"login":"csssuf","id":1261595,"avatar_url":"https://avatars1.githubusercontent.com/u/1261595?v=4","gravatar_id":"","url":"https://api.github.com/users/csssuf","html_url":"https://github.com/csssuf","followers_url":"https://api.github.com/users/csssuf/followers","following_url":"https://api.github.com/users/csssuf/following{/other_user}","gists_url":"https://api.github.com/users/csssuf/gists{/gist_id}","starred_url":"https://api.github.com/users/csssuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csssuf/subscriptions","organizations_url":"https://api.github.com/users/csssuf/orgs","repos_url":"https://api.github.com/users/csssuf/repos","events_url":"https://api.github.com/users/csssuf/events{/privacy}","received_events_url":"https://api.github.com/users/csssuf/received_events","type":"User","site_admin":false},"body":"`set` -> `add`","created_at":"2018-03-01T03:05:03Z","updated_at":"2018-03-01T03:06:36Z","html_url":"https://github.com/ComputerScienceHouse/blog/pull/29#discussion_r171452729","pull_request_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/29","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/comments/171452729"},"html":{"href":"https://github.com/ComputerScienceHouse/blog/pull/29#discussion_r171452729"},"pull_request":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/29","id":172127205,"html_url":"https://github.com/ComputerScienceHouse/blog/pull/29","diff_url":"https://github.com/ComputerScienceHouse/blog/pull/29.diff","patch_url":"https://github.com/ComputerScienceHouse/blog/pull/29.patch","issue_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/29","number":29,"state":"open","locked":false,"title":"Braden's Swiftfall Project","user":{"login":"bmbowdish","id":15185628,"avatar_url":"https://avatars3.githubusercontent.com/u/15185628?v=4","gravatar_id":"","url":"https://api.github.com/users/bmbowdish","html_url":"https://github.com/bmbowdish","followers_url":"https://api.github.com/users/bmbowdish/followers","following_url":"https://api.github.com/users/bmbowdish/following{/other_user}","gists_url":"https://api.github.com/users/bmbowdish/gists{/gist_id}","starred_url":"https://api.github.com/users/bmbowdish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmbowdish/subscriptions","organizations_url":"https://api.github.com/users/bmbowdish/orgs","repos_url":"https://api.github.com/users/bmbowdish/repos","events_url":"https://api.github.com/users/bmbowdish/events{/privacy}","received_events_url":"https://api.github.com/users/bmbowdish/received_events","type":"User","site_admin":false},"body":"I did a project and my mom is really proud! \r\n\r\n\r\nEdit: Oops I didn't know I had to write an actual article, so I copied Marc's. Oh well, I'll get that done I guess. ","created_at":"2018-03-01T02:21:42Z","updated_at":"2018-03-01T03:06:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e143828efea5a4b72969bd9ee3e07b8c549db26","assignee":null,"assignees":[],"requested_reviewers":[{"login":"stevenmirabito","id":704880,"avatar_url":"https://avatars2.githubusercontent.com/u/704880?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenmirabito","html_url":"https://github.com/stevenmirabito","followers_url":"https://api.github.com/users/stevenmirabito/followers","following_url":"https://api.github.com/users/stevenmirabito/following{/other_user}","gists_url":"https://api.github.com/users/stevenmirabito/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenmirabito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenmirabito/subscriptions","organizations_url":"https://api.github.com/users/stevenmirabito/orgs","repos_url":"https://api.github.com/users/stevenmirabito/repos","events_url":"https://api.github.com/users/stevenmirabito/events{/privacy}","received_events_url":"https://api.github.com/users/stevenmirabito/received_events","type":"User","site_admin":false},{"login":"brandonhudson","id":3893578,"avatar_url":"https://avatars0.githubusercontent.com/u/3893578?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonhudson","html_url":"https://github.com/brandonhudson","followers_url":"https://api.github.com/users/brandonhudson/followers","following_url":"https://api.github.com/users/brandonhudson/following{/other_user}","gists_url":"https://api.github.com/users/brandonhudson/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonhudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonhudson/subscriptions","organizations_url":"https://api.github.com/users/brandonhudson/orgs","repos_url":"https://api.github.com/users/brandonhudson/repos","events_url":"https://api.github.com/users/brandonhudson/events{/privacy}","received_events_url":"https://api.github.com/users/brandonhudson/received_events","type":"User","site_admin":false},{"login":"com6056","id":5183608,"avatar_url":"https://avatars3.githubusercontent.com/u/5183608?v=4","gravatar_id":"","url":"https://api.github.com/users/com6056","html_url":"https://github.com/com6056","followers_url":"https://api.github.com/users/com6056/followers","following_url":"https://api.github.com/users/com6056/following{/other_user}","gists_url":"https://api.github.com/users/com6056/gists{/gist_id}","starred_url":"https://api.github.com/users/com6056/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/com6056/subscriptions","organizations_url":"https://api.github.com/users/com6056/orgs","repos_url":"https://api.github.com/users/com6056/repos","events_url":"https://api.github.com/users/com6056/events{/privacy}","received_events_url":"https://api.github.com/users/com6056/received_events","type":"User","site_admin":false},{"login":"jefftaglic","id":21993418,"avatar_url":"https://avatars2.githubusercontent.com/u/21993418?v=4","gravatar_id":"","url":"https://api.github.com/users/jefftaglic","html_url":"https://github.com/jefftaglic","followers_url":"https://api.github.com/users/jefftaglic/followers","following_url":"https://api.github.com/users/jefftaglic/following{/other_user}","gists_url":"https://api.github.com/users/jefftaglic/gists{/gist_id}","starred_url":"https://api.github.com/users/jefftaglic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefftaglic/subscriptions","organizations_url":"https://api.github.com/users/jefftaglic/orgs","repos_url":"https://api.github.com/users/jefftaglic/repos","events_url":"https://api.github.com/users/jefftaglic/events{/privacy}","received_events_url":"https://api.github.com/users/jefftaglic/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":765934330,"url":"https://api.github.com/repos/ComputerScienceHouse/blog/labels/major%20project","name":"major project","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/29/commits","review_comments_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/29/comments","review_comment_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/29/comments","statuses_url":"https://api.github.com/repos/ComputerScienceHouse/blog/statuses/cb424aa3544e005b198c5d0b0807d64e801a0d74","head":{"label":"bmbowdish:master","ref":"master","sha":"cb424aa3544e005b198c5d0b0807d64e801a0d74","user":{"login":"bmbowdish","id":15185628,"avatar_url":"https://avatars3.githubusercontent.com/u/15185628?v=4","gravatar_id":"","url":"https://api.github.com/users/bmbowdish","html_url":"https://github.com/bmbowdish","followers_url":"https://api.github.com/users/bmbowdish/followers","following_url":"https://api.github.com/users/bmbowdish/following{/other_user}","gists_url":"https://api.github.com/users/bmbowdish/gists{/gist_id}","starred_url":"https://api.github.com/users/bmbowdish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmbowdish/subscriptions","organizations_url":"https://api.github.com/users/bmbowdish/orgs","repos_url":"https://api.github.com/users/bmbowdish/repos","events_url":"https://api.github.com/users/bmbowdish/events{/privacy}","received_events_url":"https://api.github.com/users/bmbowdish/received_events","type":"User","site_admin":false},"repo":{"id":123368737,"name":"blog","full_name":"bmbowdish/blog","owner":{"login":"bmbowdish","id":15185628,"avatar_url":"https://avatars3.githubusercontent.com/u/15185628?v=4","gravatar_id":"","url":"https://api.github.com/users/bmbowdish","html_url":"https://github.com/bmbowdish","followers_url":"https://api.github.com/users/bmbowdish/followers","following_url":"https://api.github.com/users/bmbowdish/following{/other_user}","gists_url":"https://api.github.com/users/bmbowdish/gists{/gist_id}","starred_url":"https://api.github.com/users/bmbowdish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmbowdish/subscriptions","organizations_url":"https://api.github.com/users/bmbowdish/orgs","repos_url":"https://api.github.com/users/bmbowdish/repos","events_url":"https://api.github.com/users/bmbowdish/events{/privacy}","received_events_url":"https://api.github.com/users/bmbowdish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmbowdish/blog","description":"A public blog for CSH","fork":true,"url":"https://api.github.com/repos/bmbowdish/blog","forks_url":"https://api.github.com/repos/bmbowdish/blog/forks","keys_url":"https://api.github.com/repos/bmbowdish/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmbowdish/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmbowdish/blog/teams","hooks_url":"https://api.github.com/repos/bmbowdish/blog/hooks","issue_events_url":"https://api.github.com/repos/bmbowdish/blog/issues/events{/number}","events_url":"https://api.github.com/repos/bmbowdish/blog/events","assignees_url":"https://api.github.com/repos/bmbowdish/blog/assignees{/user}","branches_url":"https://api.github.com/repos/bmbowdish/blog/branches{/branch}","tags_url":"https://api.github.com/repos/bmbowdish/blog/tags","blobs_url":"https://api.github.com/repos/bmbowdish/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmbowdish/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmbowdish/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmbowdish/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmbowdish/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/bmbowdish/blog/languages","stargazers_url":"https://api.github.com/repos/bmbowdish/blog/stargazers","contributors_url":"https://api.github.com/repos/bmbowdish/blog/contributors","subscribers_url":"https://api.github.com/repos/bmbowdish/blog/subscribers","subscription_url":"https://api.github.com/repos/bmbowdish/blog/subscription","commits_url":"https://api.github.com/repos/bmbowdish/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmbowdish/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmbowdish/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmbowdish/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmbowdish/blog/contents/{+path}","compare_url":"https://api.github.com/repos/bmbowdish/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmbowdish/blog/merges","archive_url":"https://api.github.com/repos/bmbowdish/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmbowdish/blog/downloads","issues_url":"https://api.github.com/repos/bmbowdish/blog/issues{/number}","pulls_url":"https://api.github.com/repos/bmbowdish/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/bmbowdish/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/bmbowdish/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmbowdish/blog/labels{/name}","releases_url":"https://api.github.com/repos/bmbowdish/blog/releases{/id}","deployments_url":"https://api.github.com/repos/bmbowdish/blog/deployments","created_at":"2018-03-01T02:08:34Z","updated_at":"2018-03-01T02:08:36Z","pushed_at":"2018-03-01T02:54:59Z","git_url":"git://github.com/bmbowdish/blog.git","ssh_url":"git@github.com:bmbowdish/blog.git","clone_url":"https://github.com/bmbowdish/blog.git","svn_url":"https://github.com/bmbowdish/blog","homepage":null,"size":88,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ComputerScienceHouse:master","ref":"master","sha":"f9c8f48ac71db7ee5110a62b4d5d06efa698fccd","user":{"login":"ComputerScienceHouse","id":318130,"avatar_url":"https://avatars0.githubusercontent.com/u/318130?v=4","gravatar_id":"","url":"https://api.github.com/users/ComputerScienceHouse","html_url":"https://github.com/ComputerScienceHouse","followers_url":"https://api.github.com/users/ComputerScienceHouse/followers","following_url":"https://api.github.com/users/ComputerScienceHouse/following{/other_user}","gists_url":"https://api.github.com/users/ComputerScienceHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/ComputerScienceHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ComputerScienceHouse/subscriptions","organizations_url":"https://api.github.com/users/ComputerScienceHouse/orgs","repos_url":"https://api.github.com/users/ComputerScienceHouse/repos","events_url":"https://api.github.com/users/ComputerScienceHouse/events{/privacy}","received_events_url":"https://api.github.com/users/ComputerScienceHouse/received_events","type":"Organization","site_admin":false},"repo":{"id":107344813,"name":"blog","full_name":"ComputerScienceHouse/blog","owner":{"login":"ComputerScienceHouse","id":318130,"avatar_url":"https://avatars0.githubusercontent.com/u/318130?v=4","gravatar_id":"","url":"https://api.github.com/users/ComputerScienceHouse","html_url":"https://github.com/ComputerScienceHouse","followers_url":"https://api.github.com/users/ComputerScienceHouse/followers","following_url":"https://api.github.com/users/ComputerScienceHouse/following{/other_user}","gists_url":"https://api.github.com/users/ComputerScienceHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/ComputerScienceHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ComputerScienceHouse/subscriptions","organizations_url":"https://api.github.com/users/ComputerScienceHouse/orgs","repos_url":"https://api.github.com/users/ComputerScienceHouse/repos","events_url":"https://api.github.com/users/ComputerScienceHouse/events{/privacy}","received_events_url":"https://api.github.com/users/ComputerScienceHouse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ComputerScienceHouse/blog","description":"A public blog for CSH","fork":false,"url":"https://api.github.com/repos/ComputerScienceHouse/blog","forks_url":"https://api.github.com/repos/ComputerScienceHouse/blog/forks","keys_url":"https://api.github.com/repos/ComputerScienceHouse/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ComputerScienceHouse/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ComputerScienceHouse/blog/teams","hooks_url":"https://api.github.com/repos/ComputerScienceHouse/blog/hooks","issue_events_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/events{/number}","events_url":"https://api.github.com/repos/ComputerScienceHouse/blog/events","assignees_url":"https://api.github.com/repos/ComputerScienceHouse/blog/assignees{/user}","branches_url":"https://api.github.com/repos/ComputerScienceHouse/blog/branches{/branch}","tags_url":"https://api.github.com/repos/ComputerScienceHouse/blog/tags","blobs_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ComputerScienceHouse/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/ComputerScienceHouse/blog/languages","stargazers_url":"https://api.github.com/repos/ComputerScienceHouse/blog/stargazers","contributors_url":"https://api.github.com/repos/ComputerScienceHouse/blog/contributors","subscribers_url":"https://api.github.com/repos/ComputerScienceHouse/blog/subscribers","subscription_url":"https://api.github.com/repos/ComputerScienceHouse/blog/subscription","commits_url":"https://api.github.com/repos/ComputerScienceHouse/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/ComputerScienceHouse/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/ComputerScienceHouse/blog/contents/{+path}","compare_url":"https://api.github.com/repos/ComputerScienceHouse/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ComputerScienceHouse/blog/merges","archive_url":"https://api.github.com/repos/ComputerScienceHouse/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ComputerScienceHouse/blog/downloads","issues_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues{/number}","pulls_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/ComputerScienceHouse/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/ComputerScienceHouse/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ComputerScienceHouse/blog/labels{/name}","releases_url":"https://api.github.com/repos/ComputerScienceHouse/blog/releases{/id}","deployments_url":"https://api.github.com/repos/ComputerScienceHouse/blog/deployments","created_at":"2017-10-18T01:44:34Z","updated_at":"2017-11-09T17:36:43Z","pushed_at":"2018-03-01T02:55:00Z","git_url":"git://github.com/ComputerScienceHouse/blog.git","ssh_url":"git@github.com:ComputerScienceHouse/blog.git","clone_url":"https://github.com/ComputerScienceHouse/blog.git","svn_url":"https://github.com/ComputerScienceHouse/blog","homepage":null,"size":88,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":14,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/29"},"html":{"href":"https://github.com/ComputerScienceHouse/blog/pull/29"},"issue":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/29"},"comments":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/statuses/cb424aa3544e005b198c5d0b0807d64e801a0d74"}},"author_association":"NONE"}}
{"actor":{"display_login":"csssuf"}}