Swiftpack.co - Swift Packages by daneden

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by daneden

daneden/Twift v0.2.2
🐦 An async Swift library for the Twitter v2 API 🚧 WIP
⭐️ 110
πŸ•“ 1 year ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v0.2.2
1 year ago
## What's Changed * Fix contentMedia decoding for variants object by @roblack in https://github.com/daneden/Twift/pull/47 **Full Changelog**: https://github.com/daneden/Twift/compare/v0.2.1...v0.2.2
v0.2.1
1 year ago
## What's Changed * Update Twift+Streams.swift by @Qusea in https://github.com/daneden/Twift/pull/36 * Extend media Type with variants property by @roblack in https://github.com/daneden/Twift/pull/44 * Make variant properties accessible by @roblack in https://github.com/daneden/Twift/pull/45 * Fix OAuth token refreshing by @daneden in https://github.com/daneden/Twift/pull/43 ## New Contributors * @Qusea made their first contribution in https://github.com/daneden/Twift/pull/36 **Full Changelog**: https://github.com/daneden/Twift/compare/v0.2.0...v0.2.1
v0.2.0
1 year ago
## What's Changed * New convenience initialisers * Make entities pertaining to urls, hashtags and mentions public by @roblack in https://github.com/daneden/Twift/pull/28 * Make tag and mention properties public and accessible by @roblack in https://github.com/daneden/Twift/pull/29 * Enable access for token refresh by @roblack in https://github.com/daneden/Twift/pull/31 **Full Changelog**: https://github.com/daneden/Twift/compare/v0.1.2...v0.2.0
v0.1.2
1 year ago
## What's Changed * Rename property to use snake_case by @roblack in https://github.com/daneden/Twift/pull/26 * Make authenticateUser function throwing by @Tunous in https://github.com/daneden/Twift/pull/27 **Full Changelog**: https://github.com/daneden/Twift/compare/v0.1.1...v0.1.2
v0.1.1
1 year ago
## What's Changed * make mediaKeys and pollIds accessible to the user by @roblack in https://github.com/daneden/Twift/pull/22 * Add reverse chronological timeline method, tests, and test views **Full Changelog**: https://github.com/daneden/Twift/compare/v0.1.0...v0.1.1
Initial Stable Release (v0.1.0)
1 year ago
I’m excited to publish this version of Twift as pre-1.0 stable! Now that Twift covers all but a handful of the v2 Twitter API endpoints and has a complete test suite, it’s ready for more broad use. ## What to expect for the v1.0 release Stable v1.0 of Twift is still going to take some time, mostly due to some major missing endpoints in Twitter's V2 API (specifically media endpoints). v1.0 of Twift will properly deprecate OAuth 1.0a user authentication in favour of OAuth 2.0. ## What's missing from this release The only v2 endpoints missing from this release are the compliance and tweet count endpoints, because frankly I’m impatient, and those endpoints seem less commonly-used than others. As always, contributions are welcome!
Twift Early Preview (Beta 5)
2 years ago
Beta 5 of Twift is a potentially breaking change that introduces OAuth 2.0 as the preferred authentication method. The new authentication function, `Twift.Authentication().authenticateUser`, is an async method unlike the callback-based OAuth 1.0a method. Media methods don't support OAuth 2.0, so have been marked as deprecated. In a future version of Twift, only OAuth 2.0 will be supported. ## What's Changed * Pass correct callback URL scheme to authentication by @Tunous in https://github.com/daneden/Twift/pull/4 * Add demo app by @daneden in https://github.com/daneden/Twift/pull/14 * Add "Create a List" method by @roblack in https://github.com/daneden/Twift/pull/7 * Add OAuth 2.0 user authentication by @daneden in https://github.com/daneden/Twift/pull/16 ## New Contributors * @Tunous made their first contribution in https://github.com/daneden/Twift/pull/4 * @daneden made their first contribution in https://github.com/daneden/Twift/pull/14 * @roblack made their first contribution in https://github.com/daneden/Twift/pull/7 **Full Changelog**: https://github.com/daneden/Twift/compare/v0.1.0-beta.4...v0.1.0-beta.5
Twift Early Preview (Beta 4)
2 years ago
Beta 4 of Twift adds a stable `uploadMedia` method, and a helper method `checkMediaUploadSuccessful` for checking the processing status of large media. **Full Changelog**: https://github.com/daneden/Twift/compare/v0.1.0-beta.3...v0.1.0-beta.4
Twift Early Preview (beta 3)
2 years ago
This release is an early preview of Twift, containing all the Twitter v2 API methods **except** the following: - `PUT /2/lists/:id` - `POST /2/lists` - `GET /2/tweets/counts/all` - `GET /2/tweets/counts/recent` - `GET /2/compliance/jobs` - `GET /2/compliance/jobs/:id` - `POST /2/compliance/jobs` That means you get the following types and methods: Users, Tweets, Polls, Spaces, Mutes, Blocks, Follows, Retweets, Lists*, Likes, Streams, reply hiding, and timelines! Please take Twift for a spin in your project and provide any feedback by opening issues and pull requests ## 🚨 Call for contributions In order to make this library more complete, I need help getting Twitter's v1.1 media upload methods working! This is the area that needs the most attention; if anyone has experience working with the Twitter v1.1 API, I would greatly appreciate the help!
2 years ago
iOS macOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics