{"action":"created","comment":{"url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/comments/46350546","id":46350546,"diff_hunk":"@@ -0,0 +1,334 @@\n+//\n+//  ZeeguuAPI.swift\n+//  ZeeguuAPI\n+//\n+//  Created by Jorrit Oosterhof on 28-11-15.\n+//  Copyright © 2015 Jorrit Oosterhof. All rights reserved.\n+//\n+\n+import UIKit\n+\n+/// This class is a gateway to the Zeeguu API. You can use the instance of this class to communicate with the Zeeguu API.\n+public class ZeeguuAPI {\n+\tprivate static let instance = ZeeguuAPI()\n+\t\n+\tvar currentSessionID: Int {\n+\t\tdidSet {\n+\t\t\tlet def = NSUserDefaults.standardUserDefaults()\n+\t\t\tdef.setObject(currentSessionID, forKey: ZeeguuAPI.sessionIDKey)\n+\t\t}\n+\t}\n+\t\n+\t/// Check if a user is logged in.\n+\t///\n+\t/// - returns: `true` if a user is logged in, `false` otherwise.\n+\tpublic var isLoggedIn: Bool {\n+\t\tget {\n+\t\t\treturn currentSessionID != 0\n+\t\t}\n+\t}\n+\t\n+\t/// Get the `ZeeguuAPI` instance. This method is the only way to get an instance of the ZeeguuAPI class.\n+\t///\n+\t/// - returns: The shared `ZeeguuAPI` instance.\n+\tpublic static func sharedAPI() -> ZeeguuAPI {\n+\t\treturn instance;\n+\t}\n+\t\n+\tprivate init() {\n+\t\tself.currentSessionID = 0\n+\t\tlet def = NSUserDefaults.standardUserDefaults()\n+\t\tif (def.objectForKey(ZeeguuAPI.sessionIDKey) != nil) {\n+\t\t\tself.currentSessionID = def.objectForKey(ZeeguuAPI.sessionIDKey)!.integerValue\n+\t\t}\n+\t}\n+\t\n+\t/// Registers a user.\n+\t///\n+\t/// After the user is registered and logged in, you can use the ZeeguuAPI object to make requests on behalf of the user.\n+\t///\n+\t/// - parameter username: The username of the user to register.\n+\t/// - parameter email: The email address of the user.\n+\t/// - parameter password: The password of the user.\n+\t/// - parameter completion: A block that receives a success parameter, which is true if the user was logged in successfully.\n+\tpublic func registerUserWithUsername(username: String, email: String, password: String, completion: (success: Bool) -> Void) {\n+\t\tlet request = self.zeeguuAPIRequestWithEndPoint(ZeeguuAPIEndpoint.AddUser, pathComponents: [email], method: HTTPMethod.POST, parameters: [\"username\":username, \"password\":password])\n+\t\tself.sendAsynchronousRequest(request) { (response, error) -> Void in\n+\t\t\tif (response != nil) {\n+\t\t\t\tlet sesID = Int(response!)\n+\t\t\t\tif (sesID != nil) {\n+\t\t\t\t\tself.currentSessionID = sesID!\n+\t\t\t\t}\n+\t\t\t\tcompletion(success: true)\n+\t\t\t} else {\n+\t\t\t\tcompletion(success: false)\n+\t\t\t}\n+\t\t}\n+\t}\n+\t\n+\t/// Logs a user in.\n+\t///\n+\t/// After the user is logged in, you can use the ZeeguuAPI object to make requests on behalf of the user.\n+\t/// \n+\t/// - parameter email: The email address of the user to log in.\n+\t/// - parameter password: The password of the user.\n+\t/// - parameter completion: A block that receives a success parameter, which is true if the user was logged in successfully.\n+\tpublic func loginWithEmail(email: String, password: String, completion: (success: Bool) -> Void) {\n+\t\tlet request = self.zeeguuAPIRequestWithEndPoint(ZeeguuAPIEndpoint.Session, pathComponents: [email], method: HTTPMethod.POST, parameters: [\"password\":password])\n+\t\tself.sendAsynchronousRequest(request) { (response, error) -> Void in\n+\t\t\tif (response != nil) {\n+\t\t\t\tlet sesID = Int(response!)\n+\t\t\t\tif (sesID != nil) {\n+\t\t\t\t\tself.currentSessionID = sesID!\n+\t\t\t\t}\n+\t\t\t\tcompletion(success: true)\n+\t\t\t} else {\n+\t\t\t\tcompletion(success: false)\n+\t\t\t}\n+\t\t}\n+\t}\n+\t\n+\t/// Returns the language code of the learned langugage of the logged in user.\n+\t///\n+\t/// - parameter completion: A block that will receive a language code of the learned language or nil if the request couldn't be completed.\n+\tpublic func learnedLanguage(completion: (langCode: String?) -> Void) {\n+\t\tif (!self.checkIfLoggedIn()) {\n+\t\t\treturn completion(langCode: nil)\n+\t\t}\n+\t\tlet request = self.zeeguuAPIRequestWithEndPoint(ZeeguuAPIEndpoint.LearnedLanguage, pathComponents: nil, method: HTTPMethod.GET, parameters: nil)\n+\t\tself.sendAsynchronousRequest(request) { (response, error) -> Void in\n+\t\t\tif (response != nil) {\n+\t\t\t\tcompletion(langCode: response!)\n+\t\t\t} else {\n+\t\t\t\tcompletion(langCode: nil)\n+\t\t\t}\n+\t\t}\n+\t}\n+\t\n+\t/// Sets the language code of the learned langugage of the logged in user.\n+\t///\n+\t/// - parameter newLanguageCode: The language code of the language that will be the new learned language.\n+\t/// - parameter completion: A block that will receive a boolean indication if the request succeeded.\n+\tpublic func setLearnedLanguage(newLanguageCode: String, completion: (success: Bool) -> Void) {\n+\t\tif (!self.checkIfLoggedIn()) {\n+\t\t\treturn completion(success: false)\n+\t\t}\n+\t\tlet request = self.zeeguuAPIRequestWithEndPoint(ZeeguuAPIEndpoint.LearnedLanguage, pathComponents: [newLanguageCode], method: HTTPMethod.POST, parameters: nil)\n+\t\tself.sendAsynchronousRequest(request) { (response, error) -> Void in\n+\t\t\tif (response != nil && response! == \"OK\") {\n+\t\t\t\tcompletion(success: true)\n+\t\t\t} else {\n+\t\t\t\tcompletion(success: false)\n+\t\t\t}\n+\t\t}\n+\t}\n+\t\n+\t/// Returns the language code of the native langugage of the logged in user.\n+\t///\n+\t/// - parameter completion: A block that will receive a language code of the native language or nil if the request couldn't be completed.\n+\tpublic func nativeLanguage(completion: (langCode: String?) -> Void) {\n+\t\tif (!self.checkIfLoggedIn()) {\n+\t\t\treturn completion(langCode: nil)\n+\t\t}\n+\t\tlet request = self.zeeguuAPIRequestWithEndPoint(ZeeguuAPIEndpoint.NativeLanguage, pathComponents: nil, method: HTTPMethod.GET, parameters: nil)\n+\t\tself.sendAsynchronousRequest(request) { (response, error) -> Void in\n+\t\t\tif (response != nil) {\n+\t\t\t\tcompletion(langCode: response!)\n+\t\t\t} else {\n+\t\t\t\tcompletion(langCode: nil)\n+\t\t\t}\n+\t\t}\n+\t}\n+\t\n+\t/// Sets the language code of the native langugage of the logged in user.\n+\t///\n+\t/// - parameter newLanguageCode: The language code of the language that will be the new native language.\n+\t/// - parameter completion: A block that will receive a boolean indication if the request succeeded.\n+\tpublic func setNativeLanguage(newLanguageCode: String, completion: (success: Bool) -> Void) {\n+\t\tif (!self.checkIfLoggedIn()) {\n+\t\t\treturn completion(success: false)\n+\t\t}\n+\t\tlet request = self.zeeguuAPIRequestWithEndPoint(ZeeguuAPIEndpoint.NativeLanguage, pathComponents: [newLanguageCode], method: HTTPMethod.POST, parameters: nil)\n+\t\tself.sendAsynchronousRequest(request) { (response, error) -> Void in\n+\t\t\tif (response != nil && response! == \"OK\") {\n+\t\t\t\tcompletion(success: true)\n+\t\t\t} else {\n+\t\t\t\tcompletion(success: false)\n+\t\t\t}\n+\t\t}\n+\t}\n+\t\n+\t/// Returns the language code of the learned and native langugage of the logged in user.\n+\t///\n+\t/// - parameter completion: A block that will receive a `JSON` object, which contains the dictornary with language codes of the learned and native language.\n+\tpublic func learnedAndNativeLanguage(completion: (dict: JSON?) -> Void) {\n+\t\tif (!self.checkIfLoggedIn()) {\n+\t\t\treturn completion(dict: nil)\n+\t\t}\n+\t\tlet request = self.zeeguuAPIRequestWithEndPoint(ZeeguuAPIEndpoint.LearnedAndNativeLanguage, pathComponents: nil, method: HTTPMethod.GET, parameters: nil)\n+\t\tself.sendAsynchronousRequest(request) { (response, error) -> Void in\n+\t\t\tif (response != nil) {\n+\t\t\t\tcompletion(dict: JSON.parse(response!))\n+\t\t\t} else {\n+\t\t\t\tcompletion(dict: nil)\n+\t\t\t}\n+\t\t}\n+\t}\n+\t\n+\t/// Returns the language codes of all available languages that the Zeeguu API supports.\n+\t///\n+\t/// - parameter completion: A block that will receive a `JSON` object, which contains the array with the language codes.\n+\tpublic func availableLanguages(completion: (array: JSON?) -> Void) {\n+\t\tif (!self.checkIfLoggedIn()) {\n+\t\t\treturn completion(array: nil)\n+\t\t}\n+\t\tlet request = self.zeeguuAPIRequestWithEndPoint(ZeeguuAPIEndpoint.AvailableLanguages, pathComponents: nil, method: HTTPMethod.GET, parameters: nil)\n+\t\tself.sendAsynchronousRequest(request) { (response, error) -> Void in\n+\t\t\tif (response != nil) {\n+\t\t\t\tcompletion(array: JSON.parse(response!))\n+\t\t\t} else {\n+\t\t\t\tcompletion(array: nil)\n+\t\t\t}\n+\t\t}\n+\t}\n+\t\n+\t/// Returns the words that the user is currently studying.\n+\t///\n+\t/// - parameter completion: A block that will receive a `JSON` object, which contains the list of words.\n+\tpublic func studyingWords(completion: (array: JSON?) -> Void) {\n+\t\tif (!self.checkIfLoggedIn()) {\n+\t\t\treturn completion(array: nil)\n+\t\t}\n+\t\tlet request = self.zeeguuAPIRequestWithEndPoint(ZeeguuAPIEndpoint.UserWords, pathComponents: nil, method: HTTPMethod.GET, parameters: nil)","path":"ZeeguuAPI/ZeeguuAPI/ZeeguuAPI.swift","position":202,"original_position":202,"commit_id":"cab52de7680ab77bbd14908489ba511e8c85c958","original_commit_id":"cab52de7680ab77bbd14908489ba511e8c85c958","user":{"login":"mircealungu","id":464519,"avatar_url":"https://avatars.githubusercontent.com/u/464519?v=3","gravatar_id":"","url":"https://api.github.com/users/mircealungu","html_url":"https://github.com/mircealungu","followers_url":"https://api.github.com/users/mircealungu/followers","following_url":"https://api.github.com/users/mircealungu/following{/other_user}","gists_url":"https://api.github.com/users/mircealungu/gists{/gist_id}","starred_url":"https://api.github.com/users/mircealungu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mircealungu/subscriptions","organizations_url":"https://api.github.com/users/mircealungu/orgs","repos_url":"https://api.github.com/users/mircealungu/repos","events_url":"https://api.github.com/users/mircealungu/events{/privacy}","received_events_url":"https://api.github.com/users/mircealungu/received_events","type":"User","site_admin":false},"body":"I have done Smalltalk, ObjectiveC, and C... and this convention of Swift is puzzling for me... Either one should be using keyword arguments, or not, but combining them like this... I don't know. I would find function names to be much more readable if we would use the keyword also for the first argument, and removing it from the method name. In this case something like \r\n\r\n     self.apiRequest(endpoint: ZeeguuAPIEndpoint.UserWords,\r\n                               pathComponents: nil,\r\n     ...\r\n\r\nWhat do you think? ","created_at":"2015-12-01T22:36:33Z","updated_at":"2015-12-01T22:36:33Z","html_url":"https://github.com/mircealungu/Zeeguu-API-iOS/pull/1#discussion_r46350546","pull_request_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/comments/46350546"},"html":{"href":"https://github.com/mircealungu/Zeeguu-API-iOS/pull/1#discussion_r46350546"},"pull_request":{"href":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/1","id":52066275,"html_url":"https://github.com/mircealungu/Zeeguu-API-iOS/pull/1","diff_url":"https://github.com/mircealungu/Zeeguu-API-iOS/pull/1.diff","patch_url":"https://github.com/mircealungu/Zeeguu-API-iOS/pull/1.patch","issue_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/issues/1","number":1,"state":"open","locked":false,"title":"First part of API","user":{"login":"JorritO","id":4348209,"avatar_url":"https://avatars.githubusercontent.com/u/4348209?v=3","gravatar_id":"","url":"https://api.github.com/users/JorritO","html_url":"https://github.com/JorritO","followers_url":"https://api.github.com/users/JorritO/followers","following_url":"https://api.github.com/users/JorritO/following{/other_user}","gists_url":"https://api.github.com/users/JorritO/gists{/gist_id}","starred_url":"https://api.github.com/users/JorritO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JorritO/subscriptions","organizations_url":"https://api.github.com/users/JorritO/orgs","repos_url":"https://api.github.com/users/JorritO/repos","events_url":"https://api.github.com/users/JorritO/events{/privacy}","received_events_url":"https://api.github.com/users/JorritO/received_events","type":"User","site_admin":false},"body":"This is the first part of the framework communicating with the Zeeguu API.","created_at":"2015-11-29T17:27:47Z","updated_at":"2015-12-01T22:36:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6652c6f174780c7490c284a7948ed871ead34422","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/issues/1/comments","statuses_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/statuses/cab52de7680ab77bbd14908489ba511e8c85c958","head":{"label":"JorritO:master","ref":"master","sha":"cab52de7680ab77bbd14908489ba511e8c85c958","user":{"login":"JorritO","id":4348209,"avatar_url":"https://avatars.githubusercontent.com/u/4348209?v=3","gravatar_id":"","url":"https://api.github.com/users/JorritO","html_url":"https://github.com/JorritO","followers_url":"https://api.github.com/users/JorritO/followers","following_url":"https://api.github.com/users/JorritO/following{/other_user}","gists_url":"https://api.github.com/users/JorritO/gists{/gist_id}","starred_url":"https://api.github.com/users/JorritO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JorritO/subscriptions","organizations_url":"https://api.github.com/users/JorritO/orgs","repos_url":"https://api.github.com/users/JorritO/repos","events_url":"https://api.github.com/users/JorritO/events{/privacy}","received_events_url":"https://api.github.com/users/JorritO/received_events","type":"User","site_admin":false},"repo":{"id":47027550,"name":"Zeeguu-API-iOS","full_name":"JorritO/Zeeguu-API-iOS","owner":{"login":"JorritO","id":4348209,"avatar_url":"https://avatars.githubusercontent.com/u/4348209?v=3","gravatar_id":"","url":"https://api.github.com/users/JorritO","html_url":"https://github.com/JorritO","followers_url":"https://api.github.com/users/JorritO/followers","following_url":"https://api.github.com/users/JorritO/following{/other_user}","gists_url":"https://api.github.com/users/JorritO/gists{/gist_id}","starred_url":"https://api.github.com/users/JorritO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JorritO/subscriptions","organizations_url":"https://api.github.com/users/JorritO/orgs","repos_url":"https://api.github.com/users/JorritO/repos","events_url":"https://api.github.com/users/JorritO/events{/privacy}","received_events_url":"https://api.github.com/users/JorritO/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JorritO/Zeeguu-API-iOS","description":"An API for Zeeguu for iOS","fork":true,"url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS","forks_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/forks","keys_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/teams","hooks_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/hooks","issue_events_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/events","assignees_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/tags","blobs_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/languages","stargazers_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/stargazers","contributors_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/contributors","subscribers_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/subscribers","subscription_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/subscription","commits_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/merges","archive_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/downloads","issues_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/labels{/name}","releases_url":"https://api.github.com/repos/JorritO/Zeeguu-API-iOS/releases{/id}","created_at":"2015-11-28T14:58:28Z","updated_at":"2015-11-28T16:04:18Z","pushed_at":"2015-11-29T16:59:41Z","git_url":"git://github.com/JorritO/Zeeguu-API-iOS.git","ssh_url":"git@github.com:JorritO/Zeeguu-API-iOS.git","clone_url":"https://github.com/JorritO/Zeeguu-API-iOS.git","svn_url":"https://github.com/JorritO/Zeeguu-API-iOS","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mircealungu:master","ref":"master","sha":"19764c19f159c27a1561fd87e75b97592c038097","user":{"login":"mircealungu","id":464519,"avatar_url":"https://avatars.githubusercontent.com/u/464519?v=3","gravatar_id":"","url":"https://api.github.com/users/mircealungu","html_url":"https://github.com/mircealungu","followers_url":"https://api.github.com/users/mircealungu/followers","following_url":"https://api.github.com/users/mircealungu/following{/other_user}","gists_url":"https://api.github.com/users/mircealungu/gists{/gist_id}","starred_url":"https://api.github.com/users/mircealungu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mircealungu/subscriptions","organizations_url":"https://api.github.com/users/mircealungu/orgs","repos_url":"https://api.github.com/users/mircealungu/repos","events_url":"https://api.github.com/users/mircealungu/events{/privacy}","received_events_url":"https://api.github.com/users/mircealungu/received_events","type":"User","site_admin":false},"repo":{"id":47027021,"name":"Zeeguu-API-iOS","full_name":"mircealungu/Zeeguu-API-iOS","owner":{"login":"mircealungu","id":464519,"avatar_url":"https://avatars.githubusercontent.com/u/464519?v=3","gravatar_id":"","url":"https://api.github.com/users/mircealungu","html_url":"https://github.com/mircealungu","followers_url":"https://api.github.com/users/mircealungu/followers","following_url":"https://api.github.com/users/mircealungu/following{/other_user}","gists_url":"https://api.github.com/users/mircealungu/gists{/gist_id}","starred_url":"https://api.github.com/users/mircealungu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mircealungu/subscriptions","organizations_url":"https://api.github.com/users/mircealungu/orgs","repos_url":"https://api.github.com/users/mircealungu/repos","events_url":"https://api.github.com/users/mircealungu/events{/privacy}","received_events_url":"https://api.github.com/users/mircealungu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mircealungu/Zeeguu-API-iOS","description":"An API for Zeeguu for iOS","fork":false,"url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS","forks_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/forks","keys_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/teams","hooks_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/hooks","issue_events_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/events","assignees_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/tags","blobs_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/languages","stargazers_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/stargazers","contributors_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/contributors","subscribers_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/subscribers","subscription_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/subscription","commits_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/merges","archive_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/downloads","issues_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/labels{/name}","releases_url":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/releases{/id}","created_at":"2015-11-28T14:42:18Z","updated_at":"2015-11-28T14:42:18Z","pushed_at":"2015-11-29T17:27:48Z","git_url":"git://github.com/mircealungu/Zeeguu-API-iOS.git","ssh_url":"git@github.com:mircealungu/Zeeguu-API-iOS.git","clone_url":"https://github.com/mircealungu/Zeeguu-API-iOS.git","svn_url":"https://github.com/mircealungu/Zeeguu-API-iOS","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/1"},"html":{"href":"https://github.com/mircealungu/Zeeguu-API-iOS/pull/1"},"issue":{"href":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/issues/1"},"comments":{"href":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mircealungu/Zeeguu-API-iOS/statuses/cab52de7680ab77bbd14908489ba511e8c85c958"}}}}