Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noppefoxwolf/swinub
A mastodon api library written in swift.
https://github.com/noppefoxwolf/swinub
mastodon swift
Last synced: 29 days ago
JSON representation
A mastodon api library written in swift.
- Host: GitHub
- URL: https://github.com/noppefoxwolf/swinub
- Owner: noppefoxwolf
- License: mit
- Created: 2023-12-10T03:15:24.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T19:24:55.000Z (about 2 months ago)
- Last Synced: 2024-09-18T00:00:34.043Z (about 2 months ago)
- Topics: mastodon, swift
- Language: Swift
- Homepage:
- Size: 211 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Swinub
[![Swift Package Manager Test](https://github.com/noppefoxwolf/Swinub/actions/workflows/workflow.yml/badge.svg)](https://github.com/noppefoxwolf/Swinub/actions/workflows/workflow.yml)
Swinub is simple mastodon api library.
```swift
let authorization = ...
let request = GetV1TimelinesHome(authorization: authorization)
let (statuses, httpResponse) = try await URLSession.shared.response(request)
```# Install
```swift
let package = Package(
dependencies: [
.package(url: "https://github.com/noppefoxwolf/Swinub", from: "0.0.x")
],
)
```# Apps Using
# License
Swinub is available under the MIT license. See the LICENSE file for more info.