{"id":17714544,"url":"https://github.com/a-poor/requests","last_synced_at":"2025-03-31T11:09:34.604Z","repository":{"id":57628620,"uuid":"404884384","full_name":"a-poor/requests","owner":"a-poor","description":"A quick and easy HTTP request library written in Go.","archived":false,"fork":false,"pushed_at":"2022-03-09T00:03:05.000Z","size":529,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T06:35:59.599Z","etag":null,"topics":["go","golang","hacktoberfest","http","requests"],"latest_commit_sha":null,"homepage":"https://a-poor.github.io/requests","language":"Go","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/a-poor.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}},"created_at":"2021-09-09T22:16:39.000Z","updated_at":"2021-10-11T04:20:13.000Z","dependencies_parsed_at":"2022-09-26T20:12:05.844Z","dependency_job_id":null,"html_url":"https://github.com/a-poor/requests","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-poor%2Frequests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-poor%2Frequests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-poor%2Frequests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-poor%2Frequests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-poor","download_url":"https://codeload.github.com/a-poor/requests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246458000,"owners_count":20780677,"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":["go","golang","hacktoberfest","http","requests"],"created_at":"2024-10-25T11:15:25.725Z","updated_at":"2025-03-31T11:09:34.583Z","avatar_url":"https://github.com/a-poor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# requests\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/a-poor/requests.svg)](https://pkg.go.dev/github.com/a-poor/requests)\n[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/a-poor/requests?style=flat-square)](https://pkg.go.dev/github.com/a-poor/requests)\n[![Go Test](https://github.com/a-poor/requests/actions/workflows/go.yml/badge.svg)](https://github.com/a-poor/requests/actions/workflows/go.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/a-poor/requests)](https://goreportcard.com/report/github.com/a-poor/requests)\n[![GitHub](https://img.shields.io/github/license/a-poor/requests?style=flat-square)](https://github.com/a-poor/requests/blob/main/LICENSE)\n![GitHub last commit](https://img.shields.io/github/last-commit/a-poor/requests?style=flat-square)\n[![Sourcegraph](https://sourcegraph.com/github.com/a-poor/requests/-/badge.svg)](https://sourcegraph.com/github.com/a-poor/requests?badge)\n[![CodeFactor](https://www.codefactor.io/repository/github/a-poor/requests/badge/main)](https://www.codefactor.io/repository/github/a-poor/requests/overview/main)\n\n_created by Austin Poor_\n\nA quick and easy HTTP request library written in Go. \n\nThis library is inspired by the Python Requests library. I wrote it for myself in order to make the HTTP client process a little more _ergonomic_ when writing Go code.\n\nCheck out some more examples and documentation here: [a-poor.github.io/requests](https://a-poor.github.io/requests)\n\n## Table of Contents\n\n* [Installation](#installation)\n* [Quick Start](#quick-start)\n* [Dependencies](#dependencies)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Installation\n\nInstallation is quick and easy!\n\n```bash\ngo get github.com/a-poor/requests\n```\n\n## Quick Start\n\nHere's a quick example of `requests` in action.\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/a-poor/requests\"\n)\n\nfunc main() {\n    // Send the request\n    res, err := requests.SendGetRequest(\"https://google.com\")\n\n    // If there was an error, print and return\n    if err != nil {\n        fmt.Printf(\"Error: %e\\n\", err)\n        return\n    }\n\n    // Print the response's status code\n    fmt.Printf(\"Status Code: %d\\n\", res.StatusCode)\n\n}\n```\n\n## Dependencies\n\nOnly the standard library!\n\n## Contributing\n\nPull requests are super welcome! For major changes, please open an issue first to discuss what you would like to change. And please make sure to update tests as appropriate.\n\n_Or_... feel free to just open an issue with some thoughts or suggestions or even just to say _Hi_ and tell me if this library has been helpful!\n\n## License\n\n[MIT](./LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-poor%2Frequests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-poor%2Frequests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-poor%2Frequests/lists"}