{"id":23969744,"url":"https://github.com/go-api-libs/iss-location","last_synced_at":"2026-05-17T19:05:50.038Z","repository":{"id":269284754,"uuid":"906935351","full_name":"go-api-libs/iss-location","owner":"go-api-libs","description":"Go library for the ISS Current Location. Provides the current location of the International Space Station (including latitude, longitude, and timestamp) and a list of people currently in space. Users are advised to poll the API no more than once every 5 seconds.","archived":false,"fork":false,"pushed_at":"2025-01-19T19:18:43.000Z","size":636,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-19T20:20:41.852Z","etag":null,"topics":["api","api-client","api-library","astronauts","astronomy","go","golang","gps","integration","international-space-station","iss-location","iss-location-api","isslocation","openapi","openapi3","space"],"latest_commit_sha":null,"homepage":"","language":null,"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}},"created_at":"2024-12-22T11:01:31.000Z","updated_at":"2025-01-19T19:18:45.000Z","dependencies_parsed_at":"2025-01-19T20:19:59.327Z","dependency_job_id":"c6d766a3-0549-4325-83c6-e9ae448b7c20","html_url":"https://github.com/go-api-libs/iss-location","commit_stats":null,"previous_names":["go-api-libs/iss-location"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-api-libs%2Fiss-location","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-api-libs%2Fiss-location/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-api-libs%2Fiss-location/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-api-libs%2Fiss-location/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-api-libs","download_url":"https://codeload.github.com/go-api-libs/iss-location/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240500036,"owners_count":19811553,"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":["api","api-client","api-library","astronauts","astronomy","go","golang","gps","integration","international-space-station","iss-location","iss-location-api","isslocation","openapi","openapi3","space"],"created_at":"2025-01-07T01:53:35.721Z","updated_at":"2026-05-17T19:05:45.008Z","avatar_url":"https://github.com/go-api-libs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛰️ ISS Current Location\n[![Go Reference](https://pkg.go.dev/badge/github.com/go-api-libs/iss-location.svg)](https://pkg.go.dev/github.com/go-api-libs/iss-location/pkg/isslocation)\n[![Official Documentation](https://img.shields.io/badge/docs-API-blue)](http://open-notify.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/iss-location)](https://goreportcard.com/report/github.com/go-api-libs/iss-location)\n![Code Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)\n![API Health](https://img.shields.io/badge/API_health-90%25-brightgreen)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)\n\nProvides the current location of the International Space Station (including latitude, longitude, and timestamp) and a list of people currently in space. Users are advised to poll the API no more than once every 5 seconds.\n\n## Installation\n\nTo install the library, use the following command:\n\n```shell\ngo get github.com/go-api-libs/iss-location/pkg/isslocation\n```\n\n## Usage\n\n### Example 1: Get the current location of the International Space Station\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\n\t\"github.com/go-api-libs/iss-location/pkg/isslocation\"\n)\n\nfunc main() {\n\tc, err := isslocation.NewClient()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tctx := context.Background()\n\tissLocation, err := c.GetIssLocation(ctx)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\t// Use issLocation object\n}\n\n```\n\n### Example 2: Get a list of astronauts currently in space\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\n\t\"github.com/go-api-libs/iss-location/pkg/isslocation\"\n)\n\nfunc main() {\n\tc, err := isslocation.NewClient()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tctx := context.Background()\n\tpeopleInSpace, err := c.GetPeopleInSpace(ctx)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\t// Use peopleInSpace object\n}\n\n```\n\n## Additional Information\n\n- [**Go Reference**](https://pkg.go.dev/github.com/go-api-libs/iss-location/pkg/isslocation): The Go reference documentation for the client package.\n- [**Official Documentation**](http://open-notify.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/iss-location): 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/iss-location).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-api-libs%2Fiss-location","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-api-libs%2Fiss-location","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-api-libs%2Fiss-location/lists"}