{"id":15591474,"url":"https://github.com/zhashkevych/go-pocket-sdk","last_synced_at":"2026-03-13T13:34:03.992Z","repository":{"id":42032425,"uuid":"323343824","full_name":"zhashkevych/go-pocket-sdk","owner":"zhashkevych","description":"Unofficial getpocket.com API Golang SDK","archived":false,"fork":false,"pushed_at":"2022-04-24T20:47:13.000Z","size":7,"stargazers_count":24,"open_issues_count":2,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-28T10:53:41.844Z","etag":null,"topics":["api","api-client","getpocket","go","go-api","go-api-client","golang","golang-library","golang-package","golang-sdk","pocket","sdk"],"latest_commit_sha":null,"homepage":"https://getpocket.com/developer/","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/zhashkevych.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-12-21T13:26:46.000Z","updated_at":"2024-10-05T13:38:53.000Z","dependencies_parsed_at":"2022-08-12T02:51:09.914Z","dependency_job_id":null,"html_url":"https://github.com/zhashkevych/go-pocket-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zhashkevych/go-pocket-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhashkevych%2Fgo-pocket-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhashkevych%2Fgo-pocket-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhashkevych%2Fgo-pocket-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhashkevych%2Fgo-pocket-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhashkevych","download_url":"https://codeload.github.com/zhashkevych/go-pocket-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhashkevych%2Fgo-pocket-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30467803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["api","api-client","getpocket","go","go-api","go-api-client","golang","golang-library","golang-package","golang-sdk","pocket","sdk"],"created_at":"2024-10-02T23:41:27.961Z","updated_at":"2026-03-13T13:34:03.972Z","avatar_url":"https://github.com/zhashkevych.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GetPocket API Golang SDK\n## https://getpocket.com/developer/\n\n### Example usage:\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\tpocket \"github.com/zhashkevych/go-pocket-sdk\"\n\t\"log\"\n)\n\nfunc main()  {\n\tctx := context.Background()\n\n\tclient := pocket.NewClient(\"\u003cyour-consumer-key\u003e\") // you can generate key at https://getpocket.com/developer/apps/\n\trequestToken, err := client.GetRequestToken(ctx, \"http://example.com/\")\n\tif err != nil {\n\t\tlog.Fatalf(\"failed to get request token: %s\", err.Error())\n\t}\n\n\turl\t:= client.GetAuthorizationURL(requestToken, \"http://example.com/\")\n\tfmt.Println(url)\n\n\tauthResp, err := client.Authorize(ctx, requestToken)\n\tif err != nil {\n\t\tlog.Fatalf(\"failed to authorize: %s\", err)\n\t}\n\n\terr = client.Add(ctx, pocket.AddInput{\n\t\tURL: \"https://github.com/zhashkevych/go-pocket-sdk\",\n\t\tAccessToken: authResp.AccessToken,\n\t})\n\tif err != nil {\n\t\tlog.Fatalf(\"failed to add item: %s\", err)\n\t}\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhashkevych%2Fgo-pocket-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhashkevych%2Fgo-pocket-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhashkevych%2Fgo-pocket-sdk/lists"}