{"id":32143217,"url":"https://github.com/guillaumealgis/simplemdm-swift","last_synced_at":"2026-07-18T14:35:36.709Z","repository":{"id":62455446,"uuid":"154057521","full_name":"guillaumealgis/SimpleMDM-Swift","owner":"guillaumealgis","description":"Swift bindings for the SimpleMDM API","archived":false,"fork":false,"pushed_at":"2022-05-11T21:36:13.000Z","size":2588,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T18:41:07.810Z","etag":null,"topics":["mdm","rest-api","simplemdm"],"latest_commit_sha":null,"homepage":"https://simplemdm.com/docs/api","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guillaumealgis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-21T22:21:45.000Z","updated_at":"2022-05-26T12:02:51.000Z","dependencies_parsed_at":"2022-11-02T00:00:34.502Z","dependency_job_id":null,"html_url":"https://github.com/guillaumealgis/SimpleMDM-Swift","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/guillaumealgis/SimpleMDM-Swift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaumealgis%2FSimpleMDM-Swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaumealgis%2FSimpleMDM-Swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaumealgis%2FSimpleMDM-Swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaumealgis%2FSimpleMDM-Swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guillaumealgis","download_url":"https://codeload.github.com/guillaumealgis/SimpleMDM-Swift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaumealgis%2FSimpleMDM-Swift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280225807,"owners_count":26293888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mdm","rest-api","simplemdm"],"created_at":"2025-10-21T07:54:55.435Z","updated_at":"2025-10-21T07:54:57.056Z","avatar_url":"https://github.com/guillaumealgis.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleMDM-Swift\n\n[![MIT](https://img.shields.io/github/license/guillaumealgis/SimpleMDM-Swift.svg)](https://tldrlegal.com/license/mit-license)\n[![Build Status](https://img.shields.io/travis/guillaumealgis/SimpleMDM-Swift/main.svg)](https://travis-ci.org/guillaumealgis/SimpleMDM-Swift)\n[![Codecov](https://img.shields.io/codecov/c/github/guillaumealgis/SimpleMDM-Swift/main.svg)](https://codecov.io/gh/guillaumealgis/SimpleMDM-Swift)\n\n[![SwiftPM Compatible](https://img.shields.io/badge/SwiftPM-Compatible-orange.svg)](https://swift.org/package-manager/)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/SimpleMDM-Swift.svg)](https://cocoapods.org/pods/SimpleMDM-Swift)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-Compatible-orange.svg)](https://github.com/Carthage/Carthage)\n\n[![Platform Compatibility](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fguillaumealgis%2FSimpleMDM-Swift%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/guillaumealgis/SimpleMDM-Swift)\n[![Swift Compatibility](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fguillaumealgis%2FSimpleMDM-Swift%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/guillaumealgis/SimpleMDM-Swift)\n\nSimpleMDM-Swift is a cross-platform (iOS, macOS, tvOS, watchOS) SDK to access the SimpleMDM API written in Swift.\n\n**Please Note**: This library is not officially supported by SimpleMDM. It does not currently wrap the complete functionality of the SimpleMDM API. Use at your own risk.\n\n## Features\n\n- Read-only access to all exposed resources (Device, App, etc.) of the REST API\n- Supports the pagination API introduced August 15, 2018\n- Type-safe\n- Asynchronous API, relying on async / await\n- High test coverage\n- 100% documented\n\n##### System requirements\n\n- Deployment target of iOS 15.0+ / macOS 12+ / tvOS 15+ / watchOS 8+\n- Xcode 13.2+\n- Swift 5.5+\n\n## Usage\n\n📘 Full documentation is available here: [https://guillaumealgis.github.io/SimpleMDM-Swift/](https://guillaumealgis.github.io/SimpleMDM-Swift/)\n\n```swift\n// Just set this once in your applicationDidBecomeActive method\nSimpleMDM.APIKey = \"233b7a3058694652ae6f62acfcba8be7\"\n\n// Get the device with id 42\nDevice.get(id: 42) { result in\n    switch result {\n    case let .failure(error):\n        print(\"Could not get device: \\(error)\")\n    case let .success(device):\n        print(device.name)\n    }\n}\n\n// Get all device groups\nDeviceGroup.getAll { result in\n    switch result {\n    case let .failure(error):\n        print(\"Could not get device groups: \\(error)\")\n    case let .success(deviceGroups):\n        print(deviceGroups.map { $0.name })\n    }\n}\n```\n\n## Installation\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler and Xcode (starting at version 11).\n\nAdding SimpleMDM-Swift as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/guillaumealgis/SimpleMDM-Swift.git\", .upToNextMajor(from: \"0.10.0\"))\n]\n```\n\nOr you can use [Xcode's menu](https://wwdcbysundell.com/2019/xcode-swiftpm-first-look/) in File \u003e Swift Packages \u003e Add Package Dependency.\n\n---\n\n### CocoaPods\n\nTo integrate SimpleMDM-Swift into your Xcode project using [CocoaPods](https://cocoapods.org), specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '12.0'\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'SimpleMDM-Swift', '~\u003e 0.10.0'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n---\n\n### Carthage\n\nTo integrate SimpleMDM-Swift into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), specify it in your Cartfile:\n\n```python\ngithub \"guillaumealgis/SimpleMDM-Swift\" == 0.10.0\n```\n\nRun `carthage update` to build the framework and drag the built SimpleMDM-Swift.framework into your Xcode project and update your run scripts as appropriate. For additional support, please visit the Carthage [documentation](https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos).\n\n## Apps using SimpleMDM-Swift\n\nI'd love to hear what you have used SimpleMDM-Swift for, if you would like your app displayed here, please send a pull request!\n\n## License\n\nSimpleMDM-Swift is released under the MIT license. See LICENSE.md for details.\n\n## Related Projects\n\n- [The SimpleMDM REST API documentation](https://simplemdm.com/docs/api/)\n- [SimpleMDM/simplemdm-ruby](https://github.com/SimpleMDM/simplemdm-ruby) - Ruby library\n- [SteveKueng/simpleMDMpy](https://github.com/SteveKueng/simpleMDMpy) - Python library\n\n## Contact\n\nGuillaume Algis ([@guillaumealgis](https://twitter.com/guillaumealgis))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumealgis%2Fsimplemdm-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillaumealgis%2Fsimplemdm-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumealgis%2Fsimplemdm-swift/lists"}