Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zunda-pixel/cloudflare-swift
Cloudflare API Client
https://github.com/zunda-pixel/cloudflare-swift
cloudflare swift
Last synced: 22 days ago
JSON representation
Cloudflare API Client
- Host: GitHub
- URL: https://github.com/zunda-pixel/cloudflare-swift
- Owner: zunda-pixel
- License: apache-2.0
- Created: 2024-04-25T14:27:17.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-12-11T11:56:40.000Z (about 1 month ago)
- Last Synced: 2024-12-11T12:38:07.324Z (about 1 month ago)
- Topics: cloudflare, swift
- Language: Swift
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## CloudflareKit
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2Fcloudflare-swift%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/zunda-pixel/cloudflare-swift)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2Fcloudflare-swift%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/zunda-pixel/cloudflare-swift)https://developers.cloudflare.com/api
## API List
- [x] Cloudflare Images
### Cloudflare Images
```swift
import ImagesClientlet client = ImagesClient(apiToken: "1234567890", accountId: "1234567890")
let uploadedImage = try await client.upload(
imageURL: URL(string: "https://path/to/image")!,
)print(uploadedImage)
```