{"id":18473415,"url":"https://github.com/0xopenbytes/network","last_synced_at":"2025-05-13T00:45:26.995Z","repository":{"id":128244026,"uuid":"610530584","full_name":"0xOpenBytes/Network","owner":"0xOpenBytes","description":"🕸️ Output and Input for remote URLs using REST","archived":false,"fork":false,"pushed_at":"2023-03-08T15:57:19.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-25T04:03:42.549Z","etag":null,"topics":["async-await","datatask","get","headers","network","post","rest","swift","url","urlsession"],"latest_commit_sha":null,"homepage":"https://0xopenbytes.github.io/Network/","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/0xOpenBytes.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":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-07T00:35:51.000Z","updated_at":"2023-03-07T23:20:49.000Z","dependencies_parsed_at":"2023-09-06T00:47:07.213Z","dependency_job_id":null,"html_url":"https://github.com/0xOpenBytes/Network","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"951967f2b448955573481e03c45afe956ca914f9"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FNetwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FNetwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FNetwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FNetwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xOpenBytes","download_url":"https://codeload.github.com/0xOpenBytes/Network/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850875,"owners_count":21973671,"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":["async-await","datatask","get","headers","network","post","rest","swift","url","urlsession"],"created_at":"2024-11-06T10:24:46.954Z","updated_at":"2025-05-13T00:45:26.975Z","avatar_url":"https://github.com/0xOpenBytes.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Network\n\nNetwork is a convenience typealias for `o.url` that represents network access. `o.url` is a group of functions in the `o` module that provides network access and manipulation operations.\n\n## Usage\nTo use `Network`, simply import `Network` and use the `Network` typealias in your code:\n\n```swift\nimport Network\n\n// Get data from a URL\nlet data = try await Network.get(url: URL(string: \"https://example.com/data.json\")!)\n\n// Post data to a URL\nlet postData = \"Hello, world!\".data(using: .utf8)!\ntry await Network.post(url: URL(string: \"https://example.com/post\")!, body: postData)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xopenbytes%2Fnetwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xopenbytes%2Fnetwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xopenbytes%2Fnetwork/lists"}