https://github.com/dankinsoid/swift-belurk-api
Belurk API in Swift
https://github.com/dankinsoid/swift-belurk-api
api api-client belurk client swift
Last synced: 10 months ago
JSON representation
Belurk API in Swift
- Host: GitHub
- URL: https://github.com/dankinsoid/swift-belurk-api
- Owner: dankinsoid
- License: mit
- Created: 2024-05-16T21:53:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T13:47:11.000Z (about 2 years ago)
- Last Synced: 2024-05-17T23:38:25.821Z (about 2 years ago)
- Topics: api, api-client, belurk, client, swift
- Language: Swift
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BelurkAPI
This package provides a Swift API for the [Belurk](https://belurk.ru)
## Example
```swift
let api = BelurkAPI(token: "yourToken")
let proxies = try await api.proxy.getAll().collect()
```
## Usage
## Installation
1. [Swift Package Manager](https://github.com/apple/swift-package-manager)
Create a `Package.swift` file.
```swift
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "SomeProject",
dependencies: [
.package(url: "https://github.com/dankinsoid/BelurkAPI.git", from: "1.0.1")
],
targets: [
.target(name: "SomeProject", dependencies: ["BelurkAPI"])
]
)
```
```ruby
$ swift build
```
## Author
dankinsoid, voidilov@gmail.com
## License
BelurkAPI is available under the MIT license. See the LICENSE file for more info.