Little library for working with the Mastodon API
Contains some very simple types for decoding and processing statuses.
If you are looking for something full-featured, please check out TootSDK.
dependencies: [
.package(url: "https://github.com/mattmassicotte/Reblog", branch: "main")
]
import Reblog
// data from call to "/api/v1/timelines/home"
let data = "..."
let statuses = JSONDecoder().decode([Status].self, from: data)
I would love to hear from you! Issues or pull requests work great. Both a Matrix space and Discord are available for live help, but I have a strong bias towards answering in the form of documentation. You can also find me on the web.
I prefer collaboration, and would love to find ways to work together if you have a similar project.
I prefer indentation with tabs for improved accessibility. But, I'd rather you use the system you want and make a PR than hesitate because of whitespace.
By participating in this project you agree to abide by the Contributor Code of Conduct.