{"id":39567418,"url":"https://github.com/sherif-fanous/go-feedly","last_synced_at":"2026-01-18T07:15:28.916Z","repository":{"id":84834289,"uuid":"264737911","full_name":"sherif-fanous/go-feedly","owner":"sherif-fanous","description":"A Go client for the Feedly API.","archived":false,"fork":false,"pushed_at":"2025-09-03T12:47:49.000Z","size":242,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-15T07:10:22.330Z","etag":null,"topics":["api","client","feedly","go"],"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/sherif-fanous.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-05-17T19:08:37.000Z","updated_at":"2025-11-19T11:21:42.000Z","dependencies_parsed_at":"2023-07-28T15:16:39.296Z","dependency_job_id":null,"html_url":"https://github.com/sherif-fanous/go-feedly","commit_stats":null,"previous_names":["sherif-fanous/go-feedly","sfanous/go-feedly"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/sherif-fanous/go-feedly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sherif-fanous%2Fgo-feedly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sherif-fanous%2Fgo-feedly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sherif-fanous%2Fgo-feedly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sherif-fanous%2Fgo-feedly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sherif-fanous","download_url":"https://codeload.github.com/sherif-fanous/go-feedly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sherif-fanous%2Fgo-feedly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28532817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["api","client","feedly","go"],"created_at":"2026-01-18T07:15:24.527Z","updated_at":"2026-01-18T07:15:28.908Z","avatar_url":"https://github.com/sherif-fanous.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/sfanous/go-feedly.svg?branch=master)](https://travis-ci.com/sfanous/go-feedly)\n[![Go Report Card](https://goreportcard.com/badge/github.com/sfanous/go-feedly)](https://goreportcard.com/report/github.com/sfanous/go-feedly)\n[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/sfanous/go-feedly)\n[![Release](https://img.shields.io/github/v/release/sfanous/go-feedly.svg?style=flat)](https://github.com/sfanous/go-feedly/releases/latest)\n\n# Go client for the Feedly API\n\nCurrently, does not support any requests that require a Pro or Enterprise account.\n\nThe below example illustrates how to:\n\n- Fetch a persisted OAuth2 token from a file in JSON format.\n- Create a feedly.Client.\n- Retrieve a list of collections.\n\nThe example assumes you have a Feedly OAuth2 token persisted in a file in JSON format such as the following file\n\n```json\n{\n  \"access_token\": \"\u003cAccessToken\u003e\",\n  \"token_type\": \"Bearer\",\n  \"refresh_token\": \"\u003cRefreshToken\u003e\",\n  \"expiry\": \"2020-01-31T23:59:59.9999999-04:00\"\n}\n```\n\nYou can easily obtain a Feedly developer token by following the instructions [here](https://developer.feedly.com/v3/developer/)\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"encoding/json\"\n    \"flag\"\n    \"fmt\"\n    \"io/ioutil\"\n\n    \"github.com/sfanous/go-feedly/feedly\"\n    \"golang.org/x/oauth2\"\n)\n\nvar filename string\n\nfunc fetchToken() (*oauth2.Token, error) {\n    b, err := ioutil.ReadFile(filename)\n    if err != nil {\n        return nil, err\n    }\n\n    oauth2Token := oauth2.Token{}\n\n    if err := json.Unmarshal(b, \u0026oauth2Token); err != nil {\n        return nil, err\n    }\n\n    return \u0026oauth2Token, nil\n}\n\nfunc main() {\n    flag.StringVar(\u0026filename, \"file\", \"\", \"token persistent store path\")\n    flag.Parse()\n\n    oauth2Token, err := fetchToken()\n    if err != nil {\n        fmt.Printf(\"Failed to fetch OAuth2 token: %v\", err)\n\n        return\n    }\n\n    f := feedly.NewClient(oauth2.NewClient(context.Background(), oauth2.StaticTokenSource(oauth2Token)))\n\n    listResponse, _, err := f.Collections.List(nil)\n    if err != nil {\n        fmt.Printf(\"Failed to list Collections: %v\", err)\n\n        return\n    }\n\n    b, err := json.MarshalIndent(listResponse, \"\", \"    \")\n    if err != nil {\n        fmt.Printf(\"Failed to marshal listResponse: %v\", err)\n    }\n\n    fmt.Println(string(b))\n}\n```\n\n[Full documentation is available on GoDoc.](https://godoc.org/github.com/sfanous/go-feedly/feedly)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsherif-fanous%2Fgo-feedly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsherif-fanous%2Fgo-feedly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsherif-fanous%2Fgo-feedly/lists"}