qiita swift 用于Swift的Qiita API v2客户端
qiita-swift用于Swift的Qiita API v2客户端例子let client = Qiita. Client ( accessToken : " ... " ) // let client = Qiita.Client(accessToken: "...", baseURLString: "http://*.qiita.com/api/v2") let parameters = [ " query " : " user:naoty_k " ] let request = client. getItems ( parameters : parameters) request. onComplete { items in // ... } request. onError { error in // ... } request. resume ()用
用户评论