Latest 0.1.1
Homepage https://github.com/kewlbear/DSMKit
License MIT
Platforms ios 8.0
Authors

Swift library for Synology DSM APIs

CI Status
Version
License
Platform

Usage

import DSMKit

let dsm = DSM(host: "<IP address or hostname>")

dsm.get(API.Auth.login(account: "<account>", password: "<password>")) { sessionId, error in
    // ...
}

...

dsm.get(FileStation.List.list(path: "<path>") { data, error in
    // data?.files[0].name
}

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Swift 4

Installation

DSMKit is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'DSMKit'

TODO

  • support more APIs
  • divide pod into sub specs

Author

Changbeom Ahn, [email protected]

Inspirations

http://kwent.github.io/syno

License

DSMKit is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DSMKit",
    "version": "0.1.1",
    "summary": "Swift library for Synology DSM APIs",
    "description": "DSMKit is a Swift library for Synology DSM APIs.nIt provides parameter encoding, Codable types for JSON responses and convenient classes, extensions and functions.",
    "homepage": "https://github.com/kewlbear/DSMKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Changbeom Ahn": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kewlbear/DSMKit.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.0",
    "source_files": "DSMKit/Classes/**/*"
}

Pin It on Pinterest

Share This