https://github.com/adamayoung/ionos-developer-cli
A Swift Package for IONOS Developer API, with CLI.
https://github.com/adamayoung/ionos-developer-cli
developer-tools ionos
Last synced: 29 days ago
JSON representation
A Swift Package for IONOS Developer API, with CLI.
- Host: GitHub
- URL: https://github.com/adamayoung/ionos-developer-cli
- Owner: adamayoung
- License: apache-2.0
- Created: 2022-07-07T19:20:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-11T18:36:23.000Z (about 3 years ago)
- Last Synced: 2025-06-26T01:03:32.280Z (3 months ago)
- Topics: developer-tools, ionos
- Language: Swift
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IONOS Developer API and CLI

A Swift Package for IONOS Developer API , with CLI.
## Requirements
* Swift 5.6
## Installation
### [Swift Package Manager](https://github.com/apple/swift-package-manager)
Add the IONOSDeveloperCore package as a dependency to your `Package.swift` file, and add it as a dependency to your target.
```swift
// swift-tools-version:5.6import 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"])
]
)
```### CLI
```bash
git clone https://github.com/adamayoung/ionos-developer-cli.git
cd ionos-developer-cli
swift run ionos
```## Setup
### Get an API Key
Create an API key from The IONOS Developer API web site [https://developer.hosting.ionos.com/keys](https://developer.hosting.ionos.com/keys).
### Set API key with a command
Use this method to store you API key so other commands can be used without specifying it.
```bash
swift run ionos auth
```### Set API key with Environment variable
```bash
export IONOS_API_KEY=
```## API Areas
For a full set of commands,
```bash
swift run ionos --help
```### DNS
* Zones
* List## References
* [https://developer.hosting.ionos.com](https://developer.hosting.ionos.com)
## License
This library is licensed under the Apache License 2.0. See [LICENSE](https://github.com/adamayoung/ionos-developer-cli/blob/main/LICENSE) for details.