{"id":18059042,"url":"https://github.com/nyancodeid/kitabisa-api","last_synced_at":"2026-02-28T10:32:41.960Z","repository":{"id":35033841,"uuid":"193634729","full_name":"nyancodeid/kitabisa-api","owner":"nyancodeid","description":"Kitabisa.com puppeteer automation ","archived":false,"fork":false,"pushed_at":"2023-03-03T01:30:01.000Z","size":3377,"stargazers_count":9,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T09:17:06.302Z","etag":null,"topics":["automation","nodejs","puppeteer","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/nyancodeid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2019-06-25T04:30:34.000Z","updated_at":"2024-09-02T06:14:59.000Z","dependencies_parsed_at":"2025-04-11T08:55:46.670Z","dependency_job_id":"fbdf24cf-0ba7-4012-b5f1-120a1ff17c21","html_url":"https://github.com/nyancodeid/kitabisa-api","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nyancodeid/kitabisa-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancodeid%2Fkitabisa-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancodeid%2Fkitabisa-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancodeid%2Fkitabisa-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancodeid%2Fkitabisa-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nyancodeid","download_url":"https://codeload.github.com/nyancodeid/kitabisa-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancodeid%2Fkitabisa-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29930344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"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":["automation","nodejs","puppeteer","typescript"],"created_at":"2024-10-31T03:10:02.509Z","updated_at":"2026-02-28T10:32:41.941Z","avatar_url":"https://github.com/nyancodeid.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KitaBisa.com Automation API\nAutomation API for kitabisa.com website with Puppeteer. Read more on [documentation page](https://nyancodeid.github.io/kitabisa-api/)\n\n[![Repository](https://img.shields.io/badge/github-kitabisa--api-green?logo=github\u0026style=flat)](https://github.com/nyancodeid/kitabisa-api)\n![License MIT](https://img.shields.io/github/license/nyancodeid/kitabisa-api)\n[![Issues](https://travis-ci.org/nyancodeid/kitabisa-api.svg?branch=master)](https://github.com/nyancodeid/kitabisa-api)\n\n### Example Usage\nFor example we used `getBalance` for get latest balance and check is available for donations. and\nnext we grab random `getCampaign` with categories on it. next we run async with for loop to run \n`makeDonation` method. Simple right?\n\n![Example](https://media.giphy.com/media/ZXfIG734grkXQ2NsnP/giphy.gif)\n\n### Available Method\n1. [isLogined](#initialize)\n2. [getBalance](#getbalance)\n3. [getCampaign](#getcampaign)\n4. [getUserStatistic](#getuserstatistic)\n5. [makeDonation](#makedonation)\n\n## Initialize\n```js\n// ES6\nimport KitaBisa from \"./dist/kitabisa\";\nconst kitaBisa = new KitaBisa();\n```\n```js\n// ES5\nconst KitaBisa = require(\"./dist/kitabisa\");\nconst kitaBisa = new KitaBisa();\n```\n\n## Sign In\n```js\n// async await\nawait kitaBisa.initialize({\n  email: process.env.EMAIL,\n  password: process.env.PASSWD\n});\n```\n```js\n// promise\nkitaBisa.initialize({\n  email: \"YOUR EMAIL/PHONE\",\n  password: \"YOUR PASSWORD\"\n}).then(function() {\n  // do after login\n});\n```\n\n## getBalance\n```js\n// async await\nconst balance = await kitaBisa.getBalance();\n```\n\n## getCampaign \n```js\n// async await\nconst campaigns = await kitaBisa.getCampaign([\n  KitaBisa.categories.BENCANA_ALAM,\n  KitaBisa.categories.RUMAH_IBADAH\n]);\n\n// example result\n[ { title: 'Darurat! Alirkan Air Bersih untuk Yogyakarta ',\n    url: 'https://kitabisa.com/atasikrisisairgunkid',\n    tumbnailUrl:\n     'https://img.kitabisa.cc/size/368x196/1484b40a-9b7e-49a9-8b5a-5b3cb0339552.jpg',\n    campaigner: 'Aksi Cepat Tanggap DIY',\n    isOrganitaion: true,\n    isVerified: true,\n    dayLeft: 56,\n    total: 44538524 } ]\n```\n\n## getUserStatistic\n```js\n// async await\nconst statistic = await kitaBisa.getUserStatistic();\n```\n\n## makeDonation\nCreate donation action by fill some options and you will get result and screenshot for evidance.\n```js\nawait kitaBisa.makeDonation({\n  url: 'https://m.kitabisa.com/daruratkekeringan',\n  amount: 1000,\n  comment: \"Semoga bermanfaat\",\n  isAnonymous: true\n}).then((result) =\u003e {\n  // do something with result\n}).catch(console.error)\n\n// example result\n{ title: 'DARURAT AIR BERSIH DI CIAYUMAJAKUNING !',\n  duration: 14.104,\n  url: 'https://m.kitabisa.com/daruratkekeringan',\n  amount: 1000,\n  isAnonymous: true,\n  comment: 'Semoga bermanfaat',\n  screenshot:\n   'PATH_TO/screenshot-donation-darurat-air-bersih-di-ciayumajakuning--1564070240601.png' }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyancodeid%2Fkitabisa-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnyancodeid%2Fkitabisa-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyancodeid%2Fkitabisa-api/lists"}