{"id":19451832,"url":"https://github.com/skoef/pvoutput","last_synced_at":"2025-07-04T08:39:38.371Z","repository":{"id":48929732,"uuid":"288524547","full_name":"skoef/pvoutput","owner":"skoef","description":"Golang API client for pvoutput.org","archived":false,"fork":false,"pushed_at":"2021-07-05T07:50:10.000Z","size":33,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T23:53:58.705Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skoef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-18T17:46:25.000Z","updated_at":"2021-07-05T07:49:48.000Z","dependencies_parsed_at":"2022-09-14T08:50:32.493Z","dependency_job_id":null,"html_url":"https://github.com/skoef/pvoutput","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skoef%2Fpvoutput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skoef%2Fpvoutput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skoef%2Fpvoutput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skoef%2Fpvoutput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skoef","download_url":"https://codeload.github.com/skoef/pvoutput/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240639366,"owners_count":19833457,"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":[],"created_at":"2024-11-10T16:43:11.731Z","updated_at":"2025-02-25T09:27:09.748Z","avatar_url":"https://github.com/skoef.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/skoef/pvoutput)](https://goreportcard.com/report/github.com/skoef/pvoutput) [![Documentation](https://godoc.org/github.com/skoef/pvoutput?status.svg)](http://godoc.org/github.com/skoef/pvoutput)\n\n# Golang API Client for PVOutput.org\n\nThis is a golang library to interact with the [PVOutput](https://pvoutput.org) API.\n\n## Example usage:\n```golang\npackage main\n\nimport (\n\t\"time\"\n\n\t\"github.com/skoef/pvoutput\"\n)\n\nfunc main() {\n    // create an API client per system you want to manage\n    api := pvoutput.NewAPI(\"XXX\", \"12345\", false)\n\n    // get PV generation data from your solar inverter or\n    // power consumption data from your utility meter\n    //\n    // ...\n\n    // format data in pvoutput struct\n    output := pvoutput.NewOutput()\n    output.Date = time.Now()\n    output.Generated = 4567 // 4.5 kWh\n    output.Consumed = 7124 // 7.1 kWh\n\n    // write data to API\n    err := api.AddOutput(output)\n    if err != nil {\n        panic(err)\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskoef%2Fpvoutput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskoef%2Fpvoutput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskoef%2Fpvoutput/lists"}