{"id":22731319,"url":"https://github.com/sno2/icanhazdadjoke-sdk","last_synced_at":"2025-07-06T11:32:33.014Z","repository":{"id":62440429,"uuid":"358983839","full_name":"sno2/icanhazdadjoke-sdk","owner":"sno2","description":"An SDK to interact with the icanhazdadjoke Dad Jokes API.","archived":false,"fork":false,"pushed_at":"2021-04-26T16:04:02.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T08:14:15.347Z","etag":null,"topics":["icanhazdadjoke","rust","rust-crate","sdk"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/icanhazdadjoke-sdk","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/sno2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"thesno2","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-04-17T21:15:21.000Z","updated_at":"2021-04-26T16:04:05.000Z","dependencies_parsed_at":"2022-11-01T23:18:11.535Z","dependency_job_id":null,"html_url":"https://github.com/sno2/icanhazdadjoke-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sno2/icanhazdadjoke-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sno2%2Ficanhazdadjoke-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sno2%2Ficanhazdadjoke-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sno2%2Ficanhazdadjoke-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sno2%2Ficanhazdadjoke-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sno2","download_url":"https://codeload.github.com/sno2/icanhazdadjoke-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sno2%2Ficanhazdadjoke-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263892783,"owners_count":23526154,"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":["icanhazdadjoke","rust","rust-crate","sdk"],"created_at":"2024-12-10T19:21:26.793Z","updated_at":"2025-07-06T11:32:32.969Z","avatar_url":"https://github.com/sno2.png","language":"Rust","funding_links":["https://ko-fi.com/thesno2"],"categories":[],"sub_categories":[],"readme":"# icanhazdadjoke-sdk\n\nThis is a crate for interacting with the [icanhazdadjoke API](https://icanhazdadjoke.com/).\n\nHere are some examples for how you can use it:\n\n## Examples\n\n```rust\nuse icanhazdadjoke_sdk::{DadJokeSDK, PaginationOpts};\nlet dad_joke_sdk = DadJokeSDK::new(\"NAME_YOUR_APP\".into()); // you can basically just put in here what your app is doing\nlet random_joke = dad_joke_sdk.get_random_joke().await; // gets a random joke\nlet paginated_jokes = dad_joke_sdk.query_jokes(\"pizza\", PaginationOpts::default()).await; // you can specify more within the pagination options if you would like\n```\n\n### Contributing\n\nFirst, install [cargo readme](https://crates.io/crates/cargo-readme). After that, just run the following command every time you edit the [README.md](./README.md) file:\n\n```sh\ncargo readme \u003e README.md\n```\n\nAlso, make sure you run `cargo test` to make sure all the code is still working.\n\n### License\n\n[See attached license](./LICENSE)\n\nLicense: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsno2%2Ficanhazdadjoke-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsno2%2Ficanhazdadjoke-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsno2%2Ficanhazdadjoke-sdk/lists"}