{"id":21412630,"url":"https://github.com/hooliooo/astral","last_synced_at":"2026-03-09T03:30:53.345Z","repository":{"id":56902494,"uuid":"91945472","full_name":"hooliooo/Astral","owner":"hooliooo","description":"An HTTP networking library that emphasizes ease of use and ergonomics. Based on Rust's reqwest library","archived":false,"fork":false,"pushed_at":"2025-05-30T08:13:36.000Z","size":1394,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T00:03:33.271Z","etag":null,"topics":["http","ios","networking","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hooliooo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"Supporting Files/Astral.h","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-05-21T09:15:39.000Z","updated_at":"2022-04-16T17:29:17.000Z","dependencies_parsed_at":"2024-10-25T00:47:14.700Z","dependency_job_id":"433baed4-cec5-4fa9-bf27-492eacffa83a","html_url":"https://github.com/hooliooo/Astral","commit_stats":{"total_commits":175,"total_committers":2,"mean_commits":87.5,"dds":0.28,"last_synced_commit":"d0e8630052b59a67e87c00181da94f22910c86e0"},"previous_names":[],"tags_count":77,"template":false,"template_full_name":null,"purl":"pkg:github/hooliooo/Astral","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hooliooo%2FAstral","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hooliooo%2FAstral/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hooliooo%2FAstral/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hooliooo%2FAstral/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hooliooo","download_url":"https://codeload.github.com/hooliooo/Astral/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hooliooo%2FAstral/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265233753,"owners_count":23731825,"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":["http","ios","networking","swift"],"created_at":"2024-11-22T18:14:49.404Z","updated_at":"2025-10-18T16:01:54.702Z","avatar_url":"https://github.com/hooliooo.png","language":"Swift","readme":"# Astral\nAstral is a minimal HTTP Networking library that aims to simplify an application's networking layer by abstracting\nthe steps needed to create a network request into an easy to use API. Astral uses Swift's async/await concurrency features.\n\n## Requirements\n\nAstral requires Swift 5.6\n\n## Installation\n### [CocoaPods](http://cocoapods.org/)\n\n1. Add the following to your [Podfile](http://guides.cocoapods.org/using/the-podfile.html):\n\n```ruby\npod 'Astral'\n```\n2. Integrate your dependencies using frameworks: add `use_frameworks!` to your Podfile. \n3. Run `pod install`.\n\n### [Carthage](https://github.com/Carthage/Carthage)\n\nAdd the following to your Cartfile:\n```\ngithub \"hooliooo/Astral\"\n```\n\n### [Swift Package Manager](https://swift.org/package-manager/)\n\nAdd the following  dependency in your Package.swift file:\n```\n.package(url: \"https://github.com/hooliooo/Astral.git\", from: \"3.0.0\")\n```\n\n## A Simple Example\nHere's an example using the [Pokemon API](http://pokeapi.co)\n\n```swift\nclass PokemonAPIClient {\n\n    let client: Client = Client()\n    private let baseURL: String = \"https://pokeapi.co/api/v2\"\n\n    func getPokemon(id: Int) async throws -\u003e (Pokemon, URLResponse) {\n        return try await client\n            .get(\"\\(self.baseURL)/pokemon/\\(id)\")\n            .headers(\n                headers: [\n                    Header(key: Header.Key.accept, value: Header.Value.mediaType(.applicationJSON)),\n                ]\n            )\n            .send()\n    }\n\n}\n```\n\n## Author\n\n[Julio Alorro](https://twitter.com/Hooliooo)\n\n## License\n\nAstral is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhooliooo%2Fastral","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhooliooo%2Fastral","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhooliooo%2Fastral/lists"}