{"id":40954344,"url":"https://github.com/pyed/rtapi","last_synced_at":"2026-01-22T05:30:53.756Z","repository":{"id":57524670,"uuid":"88797333","full_name":"pyed/rtapi","owner":"pyed","description":"Raw rTorrent XML-RPC in Go","archived":false,"fork":false,"pushed_at":"2025-09-21T00:06:10.000Z","size":38,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T02:29:37.402Z","etag":null,"topics":["go","golang","rtorrent","xmlrpc"],"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/pyed.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":"2017-04-19T22:44:27.000Z","updated_at":"2023-03-16T13:04:08.000Z","dependencies_parsed_at":"2022-09-10T23:55:20.310Z","dependency_job_id":null,"html_url":"https://github.com/pyed/rtapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyed/rtapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyed%2Frtapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyed%2Frtapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyed%2Frtapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyed%2Frtapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyed","download_url":"https://codeload.github.com/pyed/rtapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyed%2Frtapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28656190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["go","golang","rtorrent","xmlrpc"],"created_at":"2026-01-22T05:30:53.088Z","updated_at":"2026-01-22T05:30:53.752Z","avatar_url":"https://github.com/pyed.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtapi\nRaw rTorrent XML-RPC in Go, Written for [rtelegram](https://github.com/pyed/rtelegram)\n\n## Requirements\n* [`rTorrent`](https://github.com/rakshasa/rtorrent) compiled with `--with-xmlrpc-c`.\n* `scgi_port = localhost:5000` in your `.rtorrent.rc`\n\n## How to get\n`go get github.com/pyed/rtapi`\n\n## How to use\n``` go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pyed/rtapi\"\n)\n\nfunc main() {\n\trt, err := rtapi.NewRtorrent(\"localhost:5000\") // Or /path/to/socket for \"scgi_local\".\n\tif err != nil {\n\t\t// ...\n\t}\n\n\t// Get torrents\n\ttorrents, err := rt.Torrents()\n\tif err != nil {\n\t\t// ...\n\t}\n\n\tfmt.Println(\"Number of torrents:\", len(torrents))\n\n\tfor _, t := range torrents {\n\t\tfmt.Println(t.Name)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyed%2Frtapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyed%2Frtapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyed%2Frtapi/lists"}