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: about 9 hours 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 (10 months ago)
- Default Branch: main
- Last Pushed: 2025-01-11T10:44:41.000Z (about 1 month ago)
- Last Synced: 2025-01-21T05:16:48.199Z (24 days ago)
- Topics: cloudflare, swift
- Language: Swift
- Homepage:
- Size: 65.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
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)
```