{"id":43846145,"url":"https://github.com/LostQuasar/rzap","last_synced_at":"2026-02-17T20:00:37.646Z","repository":{"id":243954578,"uuid":"813887587","full_name":"LostQuasar/rzap","owner":"LostQuasar","description":"A rust library for connecting to an openshock server","archived":false,"fork":false,"pushed_at":"2024-10-13T19:33:07.000Z","size":60,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T20:44:14.695Z","etag":null,"topics":["openshock","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/rzap","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LostQuasar.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}},"created_at":"2024-06-11T23:58:22.000Z","updated_at":"2024-12-09T16:28:20.000Z","dependencies_parsed_at":"2024-06-26T16:52:43.774Z","dependency_job_id":"a81b0b0f-3e6f-4cf3-ad37-942b80dc976b","html_url":"https://github.com/LostQuasar/rzap","commit_stats":null,"previous_names":["lostquasar/rzap"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LostQuasar/rzap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostQuasar%2Frzap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostQuasar%2Frzap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostQuasar%2Frzap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostQuasar%2Frzap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LostQuasar","download_url":"https://codeload.github.com/LostQuasar/rzap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LostQuasar%2Frzap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29556404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T18:16:07.221Z","status":"ssl_error","status_checked_at":"2026-02-17T18:16:04.782Z","response_time":100,"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":["openshock","rust"],"created_at":"2026-02-06T06:00:21.105Z","updated_at":"2026-02-17T20:00:37.641Z","avatar_url":"https://github.com/LostQuasar.png","language":"Rust","funding_links":[],"categories":["Libraries"],"sub_categories":["Rust"],"readme":"# rzap \n\nThis library provides an interface to controll shocker devices via [OpenShock](http://openshock.org)'s API\n\nNOTE: This is an un-official API iterface created by someone who has just started learning rust, no guarantees are made and contributions are greatly welcomed\n\n```\n[dependencies]\nreqwest = { version = \"0.11.27\" }\nserde = { version = \"1.0\", features = [\"derive\"] }\nserde_json = \"1.0\"\nstrum_macros = \"0.26.4\"\nstrum = \"0.26.2\"\ntokio = { version = \"1.21.2\", features = [\"macros\", \"rt-multi-thread\"] }\n```\n\n## Example \n\nA simple request to retrieve the API key user's id\n\n```rs\n    dotenv().ok();\n    let openshock_token = dotenv::var(\"OPENSHOCK_TOKEN\").expect(\"missing OPENSHOCK_TOKEN\");\n    let app_name = env!(\"CARGO_PKG_NAME\");\n    let app_version = env!(\"CARGO_PKG_VERSION\");\n\n    assert_ne!(openshock_token, \"\");\n\n    openshock_api = OpenShockAPIBuilder::new()\n        .with_app(app_name.to_string(), Some(app_version.to_string()))\n        .with_default_api_token(openshock_token)\n        .build()\n        .unwrap();\n    \n    println!(openshock_api.get_user_info(None).await.unwrap().id);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLostQuasar%2Frzap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLostQuasar%2Frzap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLostQuasar%2Frzap/lists"}