{"id":17119048,"url":"https://github.com/chyroc/go-feedbin","last_synced_at":"2025-04-13T04:40:47.896Z","repository":{"id":38317616,"uuid":"410416779","full_name":"chyroc/go-feedbin","owner":"chyroc","description":"feedbin go sdk","archived":false,"fork":false,"pushed_at":"2023-05-19T05:58:24.000Z","size":141,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T21:37:53.633Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chyroc.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":"2021-09-26T01:07:05.000Z","updated_at":"2023-01-10T22:40:12.000Z","dependencies_parsed_at":"2023-02-09T01:16:23.288Z","dependency_job_id":null,"html_url":"https://github.com/chyroc/go-feedbin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgo-feedbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgo-feedbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgo-feedbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgo-feedbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chyroc","download_url":"https://codeload.github.com/chyroc/go-feedbin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665782,"owners_count":21142122,"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-10-14T17:56:09.664Z","updated_at":"2025-04-13T04:40:47.864Z","avatar_url":"https://github.com/chyroc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-feedbin\n\n[![codecov](https://codecov.io/gh/chyroc/go-feedbin/branch/master/graph/badge.svg?token=Z73T6YFF80)](https://codecov.io/gh/chyroc/go-feedbin)\n[![go report card](https://goreportcard.com/badge/github.com/chyroc/go-feedbin \"go report card\")](https://goreportcard.com/report/github.com/chyroc/go-feedbin)\n[![test status](https://github.com/chyroc/go-feedbin/actions/workflows/test.yml/badge.svg)](https://github.com/chyroc/go-feedbin/actions)\n[![Apache-2.0 license](https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go\u0026logoColor=white)](https://pkg.go.dev/github.com/chyroc/go-feedbin)\n[![Go project version](https://badge.fury.io/go/github.com%2Fchyroc%2Fgo-feedbin.svg)](https://badge.fury.io/go/github.com%2Fchyroc%2Fgo-feedbin)\n\n![](./header.jpg)\n\nFeedbin API Documentation: https://github.com/feedbin/feedbin-api.\n\n## Install\n\n```shell\ngo get github.com/chyroc/go-feedbin\n```\n\n## Usage\n\n## Create Page\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/chyroc/go-feedbin\"\n)\n\nfunc main() {\n\turl := \"\"\n\tcli := feedbin.New(feedbin.WithCredential(\"username\", \"password\"))\n\n\tresp, err := cli.CreatePage(context.Background(), \u0026feedbin.CreatePageReq{\n\t\tURL: url,\n\t})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(\"title\", resp.Title)\n\tfmt.Println(\"content\", resp.Content)\n}\n```\n\n## Get Subscriptions\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/chyroc/go-feedbin\"\n)\n\nfunc main() {\n\tcli := feedbin.New(feedbin.WithCredential(\"username\", \"password\"))\n\n\tresp, err := cli.GetSubscriptions(context.Background(), \u0026feedbin.GetSubscriptionsReq{})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(\"subscriptions length:\", len(resp.Subscriptions))\n\tfor _, v := range resp.Subscriptions {\n\t\tfmt.Println(v.ID, v.Title, v.FeedURL)\n\t}\n}\n```\n\n## Extracting Content\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/chyroc/go-feedbin\"\n)\n\nfunc main() {\n\turl := \"\"\n\tcli := feedbin.New()\n\n\tresp, err := cli.ExtractingContent(context.Background(), \u0026feedbin.ExtractingContentReq{\n\t\tURL: url,\n\t})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(\"title\", resp.Title)\n\tfmt.Println(\"content\", resp.Content)\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchyroc%2Fgo-feedbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchyroc%2Fgo-feedbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchyroc%2Fgo-feedbin/lists"}