{"id":19218369,"url":"https://github.com/libninjacom/openai-rs","last_synced_at":"2026-05-01T21:02:56.669Z","repository":{"id":53877676,"uuid":"521777763","full_name":"libninjacom/openai-rs","owner":"libninjacom","description":"openai client, generated from the OpenAPI spec.","archived":false,"fork":false,"pushed_at":"2023-03-17T15:08:11.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-17T05:37:30.585Z","etag":null,"topics":["openai","openapi","rust"],"latest_commit_sha":null,"homepage":"","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-05T21:15:13.000Z","updated_at":"2022-08-14T14:33:20.000Z","dependencies_parsed_at":"2024-10-08T16:04:31.009Z","dependency_job_id":"fe84fabd-4cdf-4ba3-a03b-79575ac4e291","html_url":"https://github.com/libninjacom/openai-rs","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"a03fe5a0128e0e88a9c1ef96aa835378e92121d3"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/libninjacom/openai-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fopenai-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fopenai-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fopenai-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fopenai-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libninjacom","download_url":"https://codeload.github.com/libninjacom/openai-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libninjacom%2Fopenai-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32512670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["openai","openapi","rust"],"created_at":"2024-11-09T14:26:27.425Z","updated_at":"2026-05-01T21:02:56.645Z","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/openai-rs/stargazers\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/stars/libninjacom/openai-rs.svg?style=flat-square\" alt=\"Stars\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/libninjacom/openai-rs/actions\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/libninjacom/openai-rs/ci.yaml?\nstyle=flat-square\" alt=\"Build Status\" /\u003e\n    \u003c/a\u003e\n    \n\u003ca href=\"https://crates.io/crates/openai2\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/d/openai2?style=flat-square\" alt=\"Downloads\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://crates.io/crates/openai2\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/openai2?style=flat-square\" alt=\"Crates.io\" /\u003e\n\u003c/a\u003e\n\n\u003c/p\u003e\n\nOpenAi client, generated from the OpenAPI spec.\n\n# Usage\n\n```rust\nuse openai::OpenAiClient;\nuse openai::model::*;\n#[tokio::main]\nasync fn main() {\n    let client = OpenAiClient::from_env();\n    let response = client.list_engines().await.unwrap();\n    println!(\"{:#?}\", response);\n}\n```\n\nThis example loads configuration from environment variables, specifically:\n\n- `OPENAI_API_KEY` - Your OpenAI API key\n\n# Installation\n\nAdd this to your Cargo.toml:\n\n```toml\n[dependencies]\nopenai2 = \"2\"\n```\n\nThe crate is named `openai2`, but it is imported as `openai`:\n\n```rust\nuse openai;\n```\n\n# Documentation\n\n* [Client Library Documentation](https://docs.rs/openai2)\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%2Fopenai-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibninjacom%2Fopenai-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibninjacom%2Fopenai-rs/lists"}