{"id":14989998,"url":"https://github.com/kid0h/kidcurl","last_synced_at":"2026-02-18T12:01:58.554Z","repository":{"id":189820735,"uuid":"381168043","full_name":"Kid0h/kidCurl","owner":"Kid0h","description":"A Curl wrapper for kids!","archived":false,"fork":false,"pushed_at":"2022-06-16T02:25:29.000Z","size":5314,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T10:26:19.361Z","etag":null,"topics":["cpp","libcurl","wrapper"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Kid0h.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}},"created_at":"2021-06-28T21:43:09.000Z","updated_at":"2025-03-23T08:58:29.000Z","dependencies_parsed_at":"2023-08-21T23:23:46.975Z","dependency_job_id":null,"html_url":"https://github.com/Kid0h/kidCurl","commit_stats":null,"previous_names":["kid0h/kidcurl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kid0h/kidCurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kid0h%2FkidCurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kid0h%2FkidCurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kid0h%2FkidCurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kid0h%2FkidCurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kid0h","download_url":"https://codeload.github.com/Kid0h/kidCurl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kid0h%2FkidCurl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011851,"owners_count":26085004,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":["cpp","libcurl","wrapper"],"created_at":"2024-09-24T14:19:17.886Z","updated_at":"2025-10-12T15:21:09.684Z","avatar_url":"https://github.com/Kid0h.png","language":"C++","readme":"# kidCurl: A Curl wrapper for kids!\nA libcurl wrapper for simplified requests with a C++-style interface.\n\n## Disclaimer\nThe kidCurl wrapper is not meant for production, it is simply an example of how one could use libcurl.\n\n## Usage\nYou'll need libcurl already set up in your project in order to use this wrapper.\n\nTo start using the wrapper, include the `include` folder and you can start using `kidCurl.hpp`.\n## Example\nGET Request:\n```c++\n#include \u003ciostream\u003e\n#include \u003ckidCurl.hpp\u003e\n\n#define URL \"https://www.myexternalip.com/raw\"\n\nint main(void) {\n\t// Our request handler, we will use it to send our requests.\n\tkidCurl reqHandler;\n\n\t// Perform request\n\tauto req = reqHandler.Send(kidCurl::Type::GET, URL);\n\tif (req) {\n\t\t// Request's HTTP Status code.\n\t\tstd::cout \u003c\u003c \"Status code: \" \u003c\u003c req-\u003estatus_code \u003c\u003c std::endl;\t\n\n\t\t// Request's body.\t\t\t\t\n\t\tstd::cout \u003c\u003c \"\\nBody: \" \u003c\u003c req-\u003ebody \u003c\u003c std::endl;\t\t\t\n\n\t\t// Request's total time in milliseconds, divided by 1000 to get the value in seconds.\t\t\t\t\t\n\t\tstd::cout \u003c\u003c \"\\nTotal time: \" \u003c\u003c (float)req-\u003etotal_time / 1000 \u003c\u003c std::endl;\t\n\n\t\t// Print each header's name and it's value\n\t\tstd::cout \u003c\u003c \"\\nHeaders: \\n\";\n\t\tfor (auto\u0026 header : req-\u003eheaders)\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\tstd::cout \u003c\u003c header.name \u003c\u003c \": \" \u003c\u003c header.value \u003c\u003c \"\\n\";\n\t}\n\n\t// Wait for input\n\tstd::cin.get();\n\treturn 0;\n}\n```\nFor more examples click [here](examples/)!\n\n## Reaching out\nIf you have any issues or questions - you can open an issue [here](https://github.com/Kid0h/kidCurl/issues/new)!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkid0h%2Fkidcurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkid0h%2Fkidcurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkid0h%2Fkidcurl/lists"}