Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

SwiftWeiboKit

SwiftWeiboKit is An delightful Sina Weibo library written in Swift

Update:

Add SwiftyJSON for JSON handling

Getting started

Drag SwiftWeiboKit.swift to your project

let client = SWKClient(clientID:"YOUR_ID", clientSecret:"YOUR_SECRET", redirectURI:"YOUR_REDIRECT_URI")
    client.presentAuthorizeView(fromViewController: self){
    authResult in
    if authResult{
        client.get("https://api.weibo.com/2/statuses/user_timeline.json"){
        response in
            switch response{
            case .success(let successResp):
                println(successResp.json)
            case .failure(let failureResp):
                println(failureResp)
            }
        }
    }
}

About

An delightful Sina Weibo library written in Swift

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.