{"id":18737331,"url":"https://github.com/murilobsd/cptec","last_synced_at":"2025-10-26T12:10:05.865Z","repository":{"id":57552417,"uuid":"152132147","full_name":"murilobsd/cptec","owner":"murilobsd","description":":sunny: Go library for parsing the INPE/CPTEC weather data :umbrella:","archived":false,"fork":false,"pushed_at":"2019-02-09T22:04:53.000Z","size":226,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T17:16:26.272Z","etag":null,"topics":["brazil","cptec","golang","inpe","scraping","weather"],"latest_commit_sha":null,"homepage":"https://murilobsd.github.io/cptec/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/murilobsd.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":"2018-10-08T19:08:20.000Z","updated_at":"2024-04-21T18:51:15.000Z","dependencies_parsed_at":"2022-09-26T18:50:42.060Z","dependency_job_id":null,"html_url":"https://github.com/murilobsd/cptec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilobsd%2Fcptec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilobsd%2Fcptec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilobsd%2Fcptec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilobsd%2Fcptec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murilobsd","download_url":"https://codeload.github.com/murilobsd/cptec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239612002,"owners_count":19668276,"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":["brazil","cptec","golang","inpe","scraping","weather"],"created_at":"2024-11-07T15:24:48.845Z","updated_at":"2025-10-26T12:10:00.808Z","avatar_url":"https://github.com/murilobsd.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://i.imgur.com/f8UohJw.png\"/ alt=\"gocptec\" width=150\u003e\n\u003c/p\u003e\n\n\u003e Weather data for geekers\n\n[![GoDoc](https://godoc.org/github.com/murilobsd/cptec?status.svg)](https://godoc.org/github.com/murilobsd/cptec) [![Go Report Card](https://goreportcard.com/badge/github.com/murilobsd/cptec)](https://goreportcard.com/report/github.com/murilobsd/cptec) [![Coverage Status](https://coveralls.io/repos/github/murilobsd/cptec/badge.svg?branch=master)](https://coveralls.io/github/murilobsd/cptec?branch=master) [![Build Status](https://travis-ci.org/murilobsd/cptec.svg?branch=master)](https://travis-ci.org/murilobsd/cptec) \n[![License](https://img.shields.io/badge/license-BSD-green.svg)](https://raw.githubusercontent.com/murilobsd/cptec/master/LICENSE)\n\n[`Go Cptec`](https://github.com/murilobsd/cptec) is an [INPE/CPTEC](https://www.cptec.inpe.br/) weather data parser. The data range from weather stations, given (temperature, rain, etc.), alerts, forecast.\n\n\u003e The project has no link with [INPE/CPTEC](https://www.cptec.inpe.br/).\n\n# Table of Contents\n\n- [Features](#features)\n- [Installing](#installing)\n- [Usage](#usage)\n- [License](#License)\n\n## Features\n\n- Station list\n- Weather data\n- Forecast\n\n## Installing\n\n### From source (always latest)\n\nMake sure to have [go](https://golang.org/) (1.9+) installed, then do:\n\n```bash\ngo get -u github.com/murilobsd/cptec\n```\n\n## Usage\n\nGet stations:\n\n```go\ncptec := cptec.New(nil)\nstations, err := cptec.Station.GetAll()\nif err != nil {\n    fmt.Printf(\"Error: %v\\n\", err)\n    return\n}\n\nfor _, station := range stations {\n    fmt.Println(station)\n}\n\n# Output\n# ID: 32549 - UF: TO - Locality: UHE Isamu Ikeda Montante\n# ID: 32619 - UF: TO - Locality: Xambioa\n```\n\n## License\n\nReleased under the [BSD](./LICENSE) license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilobsd%2Fcptec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurilobsd%2Fcptec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilobsd%2Fcptec/lists"}