{"id":19218373,"url":"https://github.com/libninjacom/primer-rs","last_synced_at":"2026-06-20T04:31:16.723Z","repository":{"id":61789160,"uuid":"555134067","full_name":"libninjacom/primer-rs","owner":"libninjacom","description":"primer client, generated from the OpenAPI spec","archived":false,"fork":false,"pushed_at":"2022-10-21T02:45:13.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-16T02:44:21.759Z","etag":null,"topics":["openapi","primer","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/primer-api/","language":"Rust","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/libninjacom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-21T02:19:08.000Z","updated_at":"2022-10-21T02:19:19.000Z","dependencies_parsed_at":"2022-10-21T07:30:23.303Z","dependency_job_id":null,"html_url":"https://github.com/libninjacom/primer-rs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/libninjacom/primer-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fprimer-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fprimer-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fprimer-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fprimer-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libninjacom","download_url":"https://codeload.github.com/libninjacom/primer-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fprimer-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":["openapi","primer","rust"],"created_at":"2024-11-09T14:26:27.642Z","updated_at":"2026-06-20T04:31:16.702Z","avatar_url":"https://github.com/libninjacom.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/libninjacom/primer-rs/graphs/contributors\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/contributors/libninjacom/primer-rs.svg?style=flat-square\" alt=\"GitHub Contributors\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/libninjacom/primer-rs/stargazers\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/stars/libninjacom/primer-rs.svg?style=flat-square\" alt=\"Stars\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/libninjacom/primer-rs/actions\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/workflow/status/libninjacom/primer-rs/CI?style=flat-square\" alt=\"Build Status\" /\u003e\n    \u003c/a\u003e\n    \n\u003ca href=\"https://crates.io/crates/primer-api\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/d/primer-api?style=flat-square\" alt=\"Downloads\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://crates.io/crates/primer-api\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/primer-api?style=flat-square\" alt=\"Crates.io\" /\u003e\n\u003c/a\u003e\n\n\u003c/p\u003e\n\nprimer client, generated from the OpenAPI spec.\n\n# Usage\n\n```rust\nuse primer_api::PrimerClient;\nuse primer_api::model::*;\n#[tokio::main]\nasync fn main() {\n    let client = PrimerClient::from_env();\n    let response = client\n        .retrieve_client_side_token_client_session_get()\n        .client_token(\"your client token\")\n        .send()\n        .await\n        .unwrap();\n    println!(\"{:#?}\", response);\n}\n\n```\n\nThis example loads configuration from environment variables, specifically:\n\n* `PRIMER_BASE_URL`\n\n* `PRIMER_API_KEY_AUTH`\n\n\n\n# Installation\n\nAdd this to your Cargo.toml:\n\n```toml\n[dependencies]\nprimer-api = \"0.1.0\"\n```\n\n\n# Documentation\n\n\n\n* [Client Library Documentation](https://docs.rs/primer-api)\n\n\nYou can see working examples of every API call in the `examples/` directory.\n\n# Contributing\n\nContributions are welcome!\n\n*Library created with [Libninja](https://www.libninja.com).*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibninjacom%2Fprimer-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibninjacom%2Fprimer-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibninjacom%2Fprimer-rs/lists"}