{"id":17041668,"url":"https://github.com/xlab/api","last_synced_at":"2026-06-23T23:31:42.370Z","repository":{"id":57528233,"uuid":"22009631","full_name":"xlab/api","owner":"xlab","description":"Package api is a helper that simplifies the process of REST APIs bindings creation in Go.","archived":false,"fork":false,"pushed_at":"2014-08-24T23:58:48.000Z","size":184,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T01:24:47.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/xlab.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":"2014-07-19T12:52:11.000Z","updated_at":"2019-05-23T00:17:39.000Z","dependencies_parsed_at":"2022-08-30T12:30:47.010Z","dependency_job_id":null,"html_url":"https://github.com/xlab/api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xlab/api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlab","download_url":"https://codeload.github.com/xlab/api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34711176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-14T09:13:09.578Z","updated_at":"2026-06-23T23:31:42.342Z","avatar_url":"https://github.com/xlab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"API\n---\n[![GoDoc](https://godoc.org/github.com/xlab/api?status.svg)](https://godoc.org/github.com/xlab/api)\n\n#### Installation:\n```\ngo get github.com/xlab/api\n```\n\n#### Use case:\n```go\nsvc, _ := api.New(\"http://example.com\")\nargs := url.Values{}\nargs.Set(\"filter\", \"1\")\nargs.Set(\"price\", \"200\")\nreq, _ := svc.Request(api.POST, \"/categories/1\", args)\n\n// req.URL is now http://example.com/categories/1\n// req.Body is now filter=1\u0026price=200\n// req.Header now has Content-Type: application/x-www-form-urlencoded\n\nvar cli http.Client\nresp, err := cli.Do(req)\n```\n\n#### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlab%2Fapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fapi/lists"}