{"id":21359258,"url":"https://github.com/alesr/pocketoauth2","last_synced_at":"2025-03-16T06:25:34.886Z","repository":{"id":57644766,"uuid":"440445275","full_name":"alesr/pocketoauth2","owner":"alesr","description":"Implements a simple authentication client towards the Pocket API","archived":false,"fork":false,"pushed_at":"2023-10-11T23:31:22.000Z","size":1811,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T18:51:40.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alesr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["alesr"]}},"created_at":"2021-12-21T08:34:06.000Z","updated_at":"2024-10-18T23:01:26.000Z","dependencies_parsed_at":"2024-06-20T17:33:44.551Z","dependency_job_id":"485b5b29-8c7d-48c5-b0a4-94e22dd0a162","html_url":"https://github.com/alesr/pocketoauth2","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/alesr%2Fpocketoauth2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesr%2Fpocketoauth2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesr%2Fpocketoauth2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesr%2Fpocketoauth2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alesr","download_url":"https://codeload.github.com/alesr/pocketoauth2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243834883,"owners_count":20355510,"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-22T05:27:19.678Z","updated_at":"2025-03-16T06:25:34.857Z","avatar_url":"https://github.com/alesr.png","language":"Go","funding_links":["https://github.com/sponsors/alesr"],"categories":[],"sub_categories":[],"readme":"#POCKETOAUTH2\n\nImplements a simple authentication client towards the Pocket API, including a http server for receiving callbacks for user request token authorization.\n\n\n```go\nfunc ExampleService() {\n\tauthService, err := New(\"https://getpocket.com/v3\", \"consumerKey\", \"http://localhost:8080/auth/callback\")\n\tif err != nil {\n\t\tlog.Fatalln(err)\n\t}\n\n\taccessTkn, username, err := authService.Authenticate(context.Background())\n\tif err != nil {\n\t\tlog.Fatalln(err)\n\t}\n\n\tfmt.Println(\"Access token:\", accessTkn)\n\tfmt.Println(\"Username:\", username)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falesr%2Fpocketoauth2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falesr%2Fpocketoauth2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falesr%2Fpocketoauth2/lists"}