{"id":13645739,"url":"https://github.com/writeas/go-writeas","last_synced_at":"2026-01-12T08:03:46.336Z","repository":{"id":57210093,"uuid":"43453200","full_name":"writeas/go-writeas","owner":"writeas","description":"Go client for the Write.as API","archived":false,"fork":false,"pushed_at":"2025-01-08T01:21:41.000Z","size":77,"stargazers_count":24,"open_issues_count":5,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-22T00:55:23.078Z","etag":null,"topics":["api-client","go","writeas"],"latest_commit_sha":null,"homepage":"","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/writeas.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-09-30T19:09:19.000Z","updated_at":"2025-05-18T18:43:59.000Z","dependencies_parsed_at":"2024-01-14T09:57:25.391Z","dependency_job_id":"a13aa37f-4b44-4200-917c-66766c44e422","html_url":"https://github.com/writeas/go-writeas","commit_stats":null,"previous_names":["writeas/writeas-go"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/writeas/go-writeas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fgo-writeas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fgo-writeas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fgo-writeas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fgo-writeas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/writeas","download_url":"https://codeload.github.com/writeas/go-writeas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fgo-writeas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"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":["api-client","go","writeas"],"created_at":"2024-08-02T01:02:40.828Z","updated_at":"2026-01-12T08:03:46.312Z","avatar_url":"https://github.com/writeas.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# go-writeas\n\n[![godoc](https://godoc.org/github.com/writeas/go-writeas?status.svg)](https://pkg.go.dev/github.com/writeas/go-writeas/v2)\n\nOfficial Write.as Go client library.\n\n## Installation\n\n```bash\ngo get github.com/writeas/go-writeas/v2\n```\n\n## Documentation\n\nSee all functionality and usages in the [API documentation](https://developers.write.as/docs/api/).\n\n### Example usage\n\n```go\nimport \"github.com/writeas/go-writeas/v2\"\n\nfunc main() {\n\t// Create the client\n\tc := writeas.NewClient()\n\n\t// Publish a post\n\tp, err := c.CreatePost(\u0026writeas.PostParams{\n\t\tTitle:   \"Title!\",\n\t\tContent: \"This is a post.\",\n\t\tFont:    \"sans\",\n\t})\n\tif err != nil {\n\t\t// Perhaps show err.Error()\n\t}\n\n\t// Save token for later, since it won't ever be returned again\n\ttoken := p.Token\n\n\t// Update a published post\n\tp, err = c.UpdatePost(p.ID, token, \u0026writeas.PostParams{\n\t\tContent: \"Now it's been updated!\",\n\t})\n\tif err != nil {\n\t\t// handle\n\t}\n\n\t// Get a published post\n\tp, err = c.GetPost(p.ID)\n\tif err != nil {\n\t\t// handle\n\t}\n\n\t// Delete a post\n\terr = c.DeletePost(p.ID, token)\n}\n```\n\n## Contributing\n\nThe library covers our usage, but might not be comprehensive of the API. So we always welcome contributions and improvements from the community. Before sending pull requests, make sure you've done the following:\n\n* Run `goimports` on all updated .go files.\n* Document all exported structs and funcs.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriteas%2Fgo-writeas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwriteas%2Fgo-writeas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriteas%2Fgo-writeas/lists"}