{"id":23969742,"url":"https://github.com/go-api-libs/ipify","last_synced_at":"2025-08-01T05:32:35.378Z","repository":{"id":269284341,"uuid":"906935349","full_name":"go-api-libs/ipify","owner":"go-api-libs","description":"Go library for the ipify API. A simple public IP address API, easy to integrate into any application in seconds.","archived":false,"fork":false,"pushed_at":"2025-01-19T19:18:43.000Z","size":621,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-24T14:54:39.503Z","etag":null,"topics":["api","api-client","api-library","go","golang","integration","ip","ipify","ipify-api","ipv4","ipv6","openapi","openapi3"],"latest_commit_sha":null,"homepage":"","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/go-api-libs.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,"zenodo":null}},"created_at":"2024-12-22T11:01:31.000Z","updated_at":"2025-01-19T19:18:45.000Z","dependencies_parsed_at":"2025-01-14T16:35:56.451Z","dependency_job_id":"4519ca40-b0cf-44d4-bbec-95eec3ac7aff","html_url":"https://github.com/go-api-libs/ipify","commit_stats":null,"previous_names":["go-api-libs/ipify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/go-api-libs/ipify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-api-libs%2Fipify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-api-libs%2Fipify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-api-libs%2Fipify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-api-libs%2Fipify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-api-libs","download_url":"https://codeload.github.com/go-api-libs/ipify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-api-libs%2Fipify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268174570,"owners_count":24208015,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"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":["api","api-client","api-library","go","golang","integration","ip","ipify","ipify-api","ipv4","ipv6","openapi","openapi3"],"created_at":"2025-01-07T01:53:34.003Z","updated_at":"2025-08-01T05:32:35.348Z","avatar_url":"https://github.com/go-api-libs.png","language":"Go","readme":"# 🌐 ipify API\n[![Go Reference](https://pkg.go.dev/badge/github.com/go-api-libs/ipify.svg)](https://pkg.go.dev/github.com/go-api-libs/ipify/pkg/ipify)\n[![Official Documentation](https://img.shields.io/badge/docs-API-blue)](https://www.ipify.org/)\n[![OpenAPI](https://img.shields.io/badge/OpenAPI-3.1-blue)](/api/openapi.json)\n[![Go Report Card](https://goreportcard.com/badge/github.com/go-api-libs/ipify)](https://goreportcard.com/report/github.com/go-api-libs/ipify)\n![Code Coverage](https://img.shields.io/badge/coverage-51%25-yellow)\n![API Health](https://img.shields.io/badge/API_health-95%25-brightgreen)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)\n\nA simple public IP address API, easy to integrate into any application in seconds. ([Source](https://freepublicapis.com/ipify-api))\n\n## Installation\n\nTo install the library, use the following command:\n\n```shell\ngo get github.com/go-api-libs/ipify/pkg/ipify\n```\n\n## Usage\n\n### Example: Get you public IP address\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\n\t\"github.com/go-api-libs/ipify/pkg/ipify\"\n)\n\nfunc main() {\n\tc, err := ipify.NewClient()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tctx := context.Background()\n\tipWrapper, err := c.GetIP(ctx, \u0026ipify.GetIPParams{Format: \"json\"})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\t// Use ipWrapper object\n}\n\n```\n\n## Additional Information\n\n- [**Go Reference**](https://pkg.go.dev/github.com/go-api-libs/ipify/pkg/ipify): The Go reference documentation for the client package.\n- [**Official Documentation**](https://www.ipify.org/): The official API documentation.\n- [**OpenAPI Specification**](./api/openapi.json): The OpenAPI 3.1.0 specification.\n- [**Go Report Card**](https://goreportcard.com/report/github.com/go-api-libs/ipify): Check the code quality report.\n\n## Contributing\n\nIf you have any contributions to make, please submit a pull request or open an issue on the [GitHub repository](https://github.com/go-api-libs/ipify).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-api-libs%2Fipify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-api-libs%2Fipify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-api-libs%2Fipify/lists"}