{"id":20262944,"url":"https://github.com/swapnilsoni1999/cowin-wrapper","last_synced_at":"2026-03-01T09:32:04.177Z","repository":{"id":98337084,"uuid":"370417549","full_name":"SwapnilSoni1999/cowin-wrapper","owner":"SwapnilSoni1999","description":"Cowin API Wrapper Library. Written in Node.js","archived":false,"fork":false,"pushed_at":"2021-08-07T11:52:29.000Z","size":43,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T02:07:52.114Z","etag":null,"topics":["cowin","cowin-api","wrapper-library"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SwapnilSoni1999.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-05-24T16:29:35.000Z","updated_at":"2023-03-04T07:34:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"6de185b6-8ac0-4d3c-a990-76287a1cf10e","html_url":"https://github.com/SwapnilSoni1999/cowin-wrapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SwapnilSoni1999/cowin-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwapnilSoni1999%2Fcowin-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwapnilSoni1999%2Fcowin-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwapnilSoni1999%2Fcowin-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwapnilSoni1999%2Fcowin-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwapnilSoni1999","download_url":"https://codeload.github.com/SwapnilSoni1999/cowin-wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwapnilSoni1999%2Fcowin-wrapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29965586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cowin","cowin-api","wrapper-library"],"created_at":"2024-11-14T11:32:37.063Z","updated_at":"2026-03-01T09:32:04.145Z","avatar_url":"https://github.com/SwapnilSoni1999.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cowin API Wrapper Library\n\n- A Node.js Cowin Wrapper library to manage vaccination.\n\n### Features\n\n- Access to all endpoints\n- Can use both Private/Public APIs\n- With JSDoc\n\n### How to use\n\n1. Firstly clone the repo\n\n```sh\ngit clone https://github.com/SwapnilSoni1999/cowin-wrapper.git\n```\n\n2. Include the lib in your js file\n\n```js\nconst cowin = require('./cowin-wrapper')\n\n(async () =\u003e {\n    const number = \"Your 10 digit number\"\n    const txnId = await cowin.sendOtp(number)\n\n    const otp = \"Your otp\"\n    const otp = await scanf('Enter OTP:')\n    const token = await cowin.verifyOtp(txnId, otp)\n    const benef = await cowin.getBeneficiaries(token)\n    console.log('Token', token)\n    console.log('Beneficiaries', benef)\n    process.exit()\n})()\n```\n\n3. Run the file\n\n\u003chr\u003e\n\n\u003cb\u003eYou can use test file to check if the api is working or not.\u003c/b\u003e\n\n\u003chr\u003e\n\n#### License\nSwapnil Soni \u0026copy;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapnilsoni1999%2Fcowin-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswapnilsoni1999%2Fcowin-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapnilsoni1999%2Fcowin-wrapper/lists"}