{"id":18074964,"url":"https://github.com/lnsp/npapi","last_synced_at":"2026-04-27T22:31:34.310Z","repository":{"id":57563934,"uuid":"100209164","full_name":"lnsp/npapi","owner":"lnsp","description":"Lightweight Go wrapper for the Nanopool Ethereum API.","archived":false,"fork":false,"pushed_at":"2017-12-01T22:29:21.000Z","size":16,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-25T09:09:45.145Z","etag":null,"topics":["ethereum","go","nanopool","nanopool-ethereum-api","wrapper"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/lnsp/npapi","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/lnsp.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":"2017-08-13T22:48:24.000Z","updated_at":"2021-04-07T22:25:54.000Z","dependencies_parsed_at":"2022-09-16T13:30:39.396Z","dependency_job_id":null,"html_url":"https://github.com/lnsp/npapi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lnsp/npapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fnpapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fnpapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fnpapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fnpapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnsp","download_url":"https://codeload.github.com/lnsp/npapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fnpapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32358509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ethereum","go","nanopool","nanopool-ethereum-api","wrapper"],"created_at":"2024-10-31T10:43:58.462Z","updated_at":"2026-04-27T22:31:34.296Z","avatar_url":"https://github.com/lnsp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npapi [![GoDoc](https://godoc.org/github.com/lnsp/npapi?status.svg)](https://godoc.org/github.com/lnsp/npapi)\n\nA lightweight Go wrapper for the Nanopool Ethereum API.\n\n## Example\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/lnsp/npapi\"\n)\n\nfunc main() {\n\tif len(os.Args) != 2 {\n\t\tfmt.Fprintln(os.Stderr, \"USAGE: go run main.go [nanopool account address]\")\n\t\treturn\n\t}\n\tbalance, err := npapi.Balance(os.Args[1])\n\tif err != nil {\n\t\tfmt.Fprintf(os.Stderr, \"failed to fetch balance: %v\\n\", err)\n\t\treturn\n\t}\n\tfmt.Printf(\"You have earned %.6f ETH.\\n\", balance)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fnpapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnsp%2Fnpapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fnpapi/lists"}