{"id":20619810,"url":"https://github.com/zedseven/sponsor-block-rs","last_synced_at":"2025-04-15T12:13:40.340Z","repository":{"id":44870402,"uuid":"418762484","full_name":"zedseven/sponsor-block-rs","owner":"zedseven","description":"A Rust wrapper for the SponsorBlock API.","archived":false,"fork":false,"pushed_at":"2023-05-18T01:58:39.000Z","size":113,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T12:13:04.375Z","etag":null,"topics":["adblock","ads","rust","sponsorblock","sponsors","sponsorskip","youtube"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/sponsor-block","language":"Rust","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/zedseven.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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}},"created_at":"2021-10-19T03:54:38.000Z","updated_at":"2025-03-26T22:30:10.000Z","dependencies_parsed_at":"2024-11-16T12:12:46.572Z","dependency_job_id":"9670c5b6-1e73-4b3b-8cef-64ddec3cd687","html_url":"https://github.com/zedseven/sponsor-block-rs","commit_stats":{"total_commits":52,"total_committers":2,"mean_commits":26.0,"dds":"0.019230769230769273","last_synced_commit":"360c842a5c06bd70515e899f2e3cc04a66bccd4e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedseven%2Fsponsor-block-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedseven%2Fsponsor-block-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedseven%2Fsponsor-block-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedseven%2Fsponsor-block-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zedseven","download_url":"https://codeload.github.com/zedseven/sponsor-block-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249067778,"owners_count":21207396,"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":["adblock","ads","rust","sponsorblock","sponsors","sponsorskip","youtube"],"created_at":"2024-11-16T12:12:35.008Z","updated_at":"2025-04-15T12:13:40.285Z","avatar_url":"https://github.com/zedseven.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sponsor-block\n[![License: MIT/Apache-2.0](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)](LICENSE-MIT)\n[![Integrity Check](https://img.shields.io/github/workflow/status/zedseven/sponsor-block-rs/Integrity.svg?logo=githubactions\u0026logoColor=white\u0026label=integrity+check)](https://github.com/zedseven/sponsor-block-rs/actions/workflows/integrity.yml)\n[![# Issues](https://img.shields.io/github/issues/zedseven/sponsor-block-rs.svg?logo=github)](https://github.com/zedseven/sponsor-block-rs/issues)\n[![Crates.io](https://img.shields.io/crates/v/sponsor-block.svg?logo=rust)](https://crates.io/crates/sponsor-block)\n[![Crate Downloads](https://img.shields.io/crates/d/sponsor-block.svg?logo=azure-artifacts)](https://crates.io/crates/sponsor-block)\n\nA Rust wrapper for the [SponsorBlock](https://sponsor.ajay.app/) API, which you\ncan find complete documentation for [here](https://wiki.sponsor.ajay.app/w/API_Docs).\n\nUses SponsorBlock data licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)\nfrom https://sponsor.ajay.app/.\nPlease see the [SponsorBlock Database and API License](https://github.com/ajayyy/SponsorBlock/wiki/Database-and-API-License)\nfor more information.\n\nThis library is still missing many features of the full API, but it contains many\nsegment-retrieval functions necessary for use of the service.\n\nFor library documentation, visit [docs.rs](https://docs.rs/sponsor-block).\n\n## Example\nThe following is a short example of how you might fetch the segments for a\nvideo:\n```rust\nuse sponsor_block::{AcceptedActions, AcceptedCategories, Client};\n\n// This should be random, treated like a password, and stored across sessions\nconst USER_ID: \u0026str = \"your local user id\";\n\nlet client = Client::new(USER_ID);\nlet video_segments = client\n    .fetch_segments(\"7U-RbOKanYs\", AcceptedCategories::all(), AcceptedActions::all())\n    .await\n    .ok();\n\n// Then do something with your video segments...\n```\n\n## Project License\nThis project is licensed under either of\n\n- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n  http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or\n  http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in *sponsor-block* by you, as defined in the Apache-2.0 license,\nshall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedseven%2Fsponsor-block-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzedseven%2Fsponsor-block-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedseven%2Fsponsor-block-rs/lists"}