HackerRankKit

0.5.0

An unofficial Swift client for the HackerRank for Work REST API, with typed models and a no-network mock backend.
adamtheturtle/HackerRankKit

What's New

0.5.0

2026-07-12T10:38:50Z

What's Changed

  • Add first-class request body types for remaining write endpoints.
  • Replace raw generic write bodies for question operations, interviews, interview templates, and SCIM provisioning.
  • Add request encoding coverage for the new typed bodies.

Validation

  • Built successfully with Xcode build-for-testing.

HackerRankKit

An unofficial Swift client for the HackerRank for Work REST API, with typed models and a no-network mock backend.

Documentation | Swift Package Index

Installation

.package(url: "https://github.com/adamtheturtle/HackerRankKit.git", from: "0.1.0")

Add HackerRankKit to your app target and HackerRankKitMock to tests or demos that should run without the network.

Products

  • HackerRankKit: Typed API client for tests, candidates, questions, interviews, users, teams, and the audit log.
  • HackerRankKitMock: In-process fake API seeded with canned data.

Usage

import HackerRankKit

let client = HackerRankClient(token: "your-personal-access-token")

let tests = try await client.testsPage()
let created = try await client.createTest(name: "Phone screen")

Requirements

  • Swift 6.2+
  • macOS 15+, iOS 18+, tvOS 18+, watchOS 11+, or visionOS 2+

License

MIT. See LICENSE.

Description

  • Swift Tools 6.2.0
View More Packages from this Author

Dependencies

Last updated: Sun Jul 12 2026 09:40:40 GMT-0900 (Hawaii-Aleutian Daylight Time)