{"id":18162806,"url":"https://github.com/zunda-pixel/devicecheckkit","last_synced_at":"2025-04-07T05:29:21.391Z","repository":{"id":259180396,"uuid":"871139307","full_name":"zunda-pixel/devicecheckkit","owner":"zunda-pixel","description":"DeviceCheckKit","archived":false,"fork":false,"pushed_at":"2025-02-26T13:31:51.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T09:02:43.520Z","etag":null,"topics":["apple","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zunda-pixel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-11T10:54:23.000Z","updated_at":"2025-02-26T13:31:38.000Z","dependencies_parsed_at":"2024-10-23T09:30:25.234Z","dependency_job_id":"33489bfe-56b0-4f81-9577-81f3f1c8720e","html_url":"https://github.com/zunda-pixel/devicecheckkit","commit_stats":null,"previous_names":["zunda-pixel/devicecheckkit"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2Fdevicecheckkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2Fdevicecheckkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2Fdevicecheckkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2Fdevicecheckkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zunda-pixel","download_url":"https://codeload.github.com/zunda-pixel/devicecheckkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247596478,"owners_count":20964105,"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","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":["apple","swift"],"created_at":"2024-11-02T10:05:19.771Z","updated_at":"2025-04-07T05:29:21.369Z","avatar_url":"https://github.com/zunda-pixel.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DeviceCheckKit(Server Side)\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2Fdevicecheckkit%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/zunda-pixel/devicecheckkit)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2Fdevicecheckkit%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/zunda-pixel/devicecheckkit)\n\n```swift\nlet deviceCheck = DeviceCheck(\n  httpClient: .urlSession(.shared),\n  environmet: .development,\n  teamId: \"PSDFSDIZ2\",\n  p8KeyId: \"C6KIJDSFU3U\",\n  p8PrivateKey: Data(\"\"\"\n-----BEGIN PRIVATE KEY-----\nMIGTAgEA1iWERDFijafjkwdwIBAQQgoM7Jt05epfNvxVEL\nidr/RupT\n-----END PRIVATE KEY-----\n\"\"\".utf8)\n)\n\nfunc registDeviceToken(deviceToken: Data) {\n  try await deviceCheck.updateTwoBits(deviceToken: deviceToken)\n}\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2Fdevicecheckkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzunda-pixel%2Fdevicecheckkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2Fdevicecheckkit/lists"}