{"id":16795119,"url":"https://github.com/mehcode/oauth1-rs","last_synced_at":"2025-03-22T01:30:57.199Z","repository":{"id":47469967,"uuid":"107459603","full_name":"mehcode/oauth1-rs","owner":"mehcode","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-30T15:15:22.000Z","size":22,"stargazers_count":11,"open_issues_count":3,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T06:51:27.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mehcode.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}},"created_at":"2017-10-18T20:30:58.000Z","updated_at":"2023-09-16T10:19:42.000Z","dependencies_parsed_at":"2022-08-25T08:21:53.908Z","dependency_job_id":null,"html_url":"https://github.com/mehcode/oauth1-rs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehcode%2Foauth1-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehcode%2Foauth1-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehcode%2Foauth1-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehcode%2Foauth1-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehcode","download_url":"https://codeload.github.com/mehcode/oauth1-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244893375,"owners_count":20527581,"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-13T09:15:27.462Z","updated_at":"2025-03-22T01:30:56.921Z","avatar_url":"https://github.com/mehcode.png","language":"Rust","readme":"# OAuth1\n\u003e Basic OAuth1 library for Rust.\n\n## Usage\n\n```rust\nextern crate oauth1;\nextern crate reqwest;\n\nuse oauth1::Token;\nuse reqwest::Client;\nuse reqwest::header::AUTHORIZATION;\n\npub fn main() {\n    let client = Client::new();\n    let url = \"https://api.twitter.com/1.1/account/verify_credentials.json\";\n    let res = client.get(url)\n        .header(AUTHORIZATION, oauth1::authorize(\n            \"GET\",\n            url,\n            \u0026Token::new(\"consumer_key\", \"consumer_secret\"),\n            Some(\u0026Token::new(\"auth_token\", \"auth_token_secret\")),\n            None,\n        ))\n        .send().unwrap();\n}\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehcode%2Foauth1-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehcode%2Foauth1-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehcode%2Foauth1-rs/lists"}