{"id":13729731,"url":"https://github.com/zunda-pixel/Sweet","last_synced_at":"2025-05-08T02:30:40.613Z","repository":{"id":39862112,"uuid":"448258890","full_name":"zunda-pixel/Sweet","owner":"zunda-pixel","description":"Twitter API v2 Swift Library ","archived":false,"fork":false,"pushed_at":"2024-01-09T15:48:16.000Z","size":1638,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T22:47:59.903Z","etag":null,"topics":["swift","swift-package-manager","twitter"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zunda-pixel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"zunda-pixel"}},"created_at":"2022-01-15T11:31:23.000Z","updated_at":"2023-10-08T14:07:57.000Z","dependencies_parsed_at":"2024-01-06T13:08:43.137Z","dependency_job_id":"6ddd0189-9fb8-487a-b621-d6826724b1d9","html_url":"https://github.com/zunda-pixel/Sweet","commit_stats":null,"previous_names":[],"tags_count":90,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FSweet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FSweet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FSweet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunda-pixel%2FSweet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zunda-pixel","download_url":"https://codeload.github.com/zunda-pixel/Sweet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252986575,"owners_count":21836185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["swift","swift-package-manager","twitter"],"created_at":"2024-08-03T02:01:04.469Z","updated_at":"2025-05-08T02:30:40.577Z","avatar_url":"https://github.com/zunda-pixel.png","language":"Swift","funding_links":["https://github.com/sponsors/zunda-pixel"],"categories":["Libraries"],"sub_categories":["Swift"],"readme":"# Sweet\n\nTwitter API v2 for Swift\n\n\u003cimg src=\"https://img.shields.io/badge/Swift-5.7-orange\" alt=\"Support Swift 5.7\" /\u003e\n\n\n\u003ca href=\"https://github.com/apple/swift-package-manager\" alt=\"HTTPClient on Swift Package Manager\" title=\"HTTPClient on Swift Package Manager\"\u003e\u003cimg src=\"https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg\" /\u003e\u003c/a\u003e\n\n\u003cimg src=\"https://img.shields.io/badge/platform-iOS 13~%20%7C%20macOS 10.15(Catalina)~%20%7C%20watchOS 13~%20%7C%20tvOS 6~%20%7C%20Linux%20%7C%20Windows-lightgrey\" alt=\"Support Platform for iOS macOS watchOS tvOS Linux Windows\" /\u003e\n\n## Getting Started\n\nAdd the following dependency clause to your Package.swift:\n\n```swift\ndependencies: [\n  .package(url: \"https://github.com/zunda-pixel/Sweet\", .upToNextMajor(from: \"2.3.10\")),\n],\n```\n\n```swift\n.target(\n  name: \"PenguinKit\",\n  dependencies: [\n    .product(name: \"Sweet\", package: \"Sweet\"),\n  ]\n)\n````\n\n## Usage\n\n```swift\nlet sweet = Sweet(token: .oAuth2user(token: \"token\"), config: .default)\nlet response = try await sweet.me()\nprint(response.user)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2FSweet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzunda-pixel%2FSweet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunda-pixel%2FSweet/lists"}