A Swift Package for IONOS Developer API https://developer.hosting.ionos.com, with CLI.
- Swift 5.6
Add the IONOSDeveloperCore package as a dependency to your Package.swift
file, and add it as a dependency to your target.
// swift-tools-version:5.6
import PackageDescription
let package = Package(
name: "MyPackage",
dependencies: [
.package(url: "https://github.com/adamayoung/ionos-developer-cli.git", branch: "main")
],
targets: [
.target(name: "MyPackage", dependencies: ["IONOSDeveloperCore"])
]
)
git clone https://github.com/adamayoung/ionos-developer-cli.git
cd ionos-developer-cli
swift run ionos <command>
Create an API key from The IONOS Developer API web site https://developer.hosting.ionos.com/keys.
Use this method to store you API key so other commands can be used without specifying it.
swift run ionos auth <api-key>
export IONOS_API_KEY=<api-key>
For a full set of commands,
swift run ionos --help
- Zones
- List
This library is licensed under the Apache License 2.0. See LICENSE for details.