{"id":27288446,"url":"https://github.com/maltegrosse/go-wagri","last_synced_at":"2025-10-09T10:38:43.338Z","repository":{"id":285347095,"uuid":"939255629","full_name":"maltegrosse/go-wagri","owner":"maltegrosse","description":"A wrapper around WAGRI API (japan)","archived":false,"fork":false,"pushed_at":"2025-03-07T10:28:56.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T20:54:14.800Z","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/maltegrosse.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":"2025-02-26T08:50:19.000Z","updated_at":"2025-03-07T10:28:59.000Z","dependencies_parsed_at":"2025-03-31T07:41:36.535Z","dependency_job_id":"d75b1290-89a5-47f6-9889-735fe05cc488","html_url":"https://github.com/maltegrosse/go-wagri","commit_stats":null,"previous_names":["maltegrosse/go-wagri"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maltegrosse/go-wagri","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maltegrosse%2Fgo-wagri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maltegrosse%2Fgo-wagri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maltegrosse%2Fgo-wagri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maltegrosse%2Fgo-wagri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maltegrosse","download_url":"https://codeload.github.com/maltegrosse/go-wagri/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maltegrosse%2Fgo-wagri/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001273,"owners_count":26083040,"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-10-09T02:00:07.460Z","response_time":59,"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":"2025-04-11T20:54:12.510Z","updated_at":"2025-10-09T10:38:43.323Z","avatar_url":"https://github.com/maltegrosse.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go WAGRI API Wrapper\n## Description\nA golang wrapper around some services provided by [WAGRI](http://wagri.naro.go.jp/), an API platform for agriculture data provided by different vendors, all under the umbrella of Ministry of Agriculture, Forestry and Fisheries (MAFF) and National Agriculture and Food Research Organization (NARO) Japan. \n\n## Available Service\nOnly a few services are available and tested. PRs are welcome to extend this package for other services.\n| **Endpoint**                      | **Service**           | **Method**            | **Description**                                                       | \n|-----------------------------------|-----------------------|-----------------------|-----------------------------------------------------------------------|\n| /API/Individual/NARO/WeatherMesh  | Naro 1km Mesh Data    | NewWeatherMeshClient  |  historically weather and weather forecast. [Link](./individual/naro) |\n\n## Usage\n\n1. Get the latest go package\n`go get -u github.com/maltegrosse/go-wagri`\n2. Create a new wagri client: \n```\nw := wagri.NewWagriClient(\"CLIENT_ID\", \"CLIENT_SECRET\")\n```\n\n3. Create a new sub package instance using the wagri client, e.g. naro 1km mesh:\n```\nwm, _ := w.NewWeatherMeshClient(\"userid\", \"password\")\n\n```\n\n4. Query some weather data\n```\nproperties := []naro.WeatherProperty{naro.DailyMinimumTemperature, naro.DailyMaximumTemperature}\nweatherData, _err_ := wm.GetWeatherPoint(properties, 34.90, 136.86, time.Date(2024, 12, 10, 0, 0, 0, 0, time.UTC), time.Date(2025, 1, 10, 0, 0, 0, 0, time.UTC))\n```\n\n## License\n**[MIT license](http://opensource.org/licenses/mit-license.php)**\n\nCopyright 2025 © Malte Grosse.\n\nny data as well as additional documents (e.g. pdfs) in this repository are copyrighted by their respective owners. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaltegrosse%2Fgo-wagri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaltegrosse%2Fgo-wagri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaltegrosse%2Fgo-wagri/lists"}