{"id":18716320,"url":"https://github.com/killbill/killbill-client-js","last_synced_at":"2025-04-12T13:30:50.314Z","repository":{"id":843300,"uuid":"4695369","full_name":"killbill/killbill-client-js","owner":"killbill","description":"JavaScript client library for Kill Bill","archived":false,"fork":false,"pushed_at":"2024-04-08T18:14:42.000Z","size":527,"stargazers_count":30,"open_issues_count":8,"forks_count":17,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-26T08:12:19.169Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://killbill.io/","language":"TypeScript","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/killbill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE-2.0.txt","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},"funding":{"github":["killbill"]}},"created_at":"2012-06-17T22:31:57.000Z","updated_at":"2025-01-24T01:41:05.000Z","dependencies_parsed_at":"2024-04-08T02:37:21.320Z","dependency_job_id":"7a219c12-b903-4b9d-b0b9-c04f9167862f","html_url":"https://github.com/killbill/killbill-client-js","commit_stats":{"total_commits":101,"total_committers":5,"mean_commits":20.2,"dds":"0.49504950495049505","last_synced_commit":"9b9a8885b82e61257e28b07661f9077332b6249f"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killbill%2Fkillbill-client-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killbill%2Fkillbill-client-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killbill%2Fkillbill-client-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killbill%2Fkillbill-client-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/killbill","download_url":"https://codeload.github.com/killbill/killbill-client-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248573408,"owners_count":21126824,"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":[],"created_at":"2024-11-07T13:12:18.685Z","updated_at":"2025-04-12T13:30:49.787Z","avatar_url":"https://github.com/killbill.png","language":"TypeScript","funding_links":["https://github.com/sponsors/killbill"],"categories":[],"sub_categories":[],"readme":"killbill-client-js\n==================\n\nJavaScript client library for Kill Bill.\n\nIt is designed to run both on the client side as well as on the server side (e.g. using node.js).\n\nCodegen\n-\nCode is generated using [openapi-codegen](https://github.com/OpenAPITools/openapi-generator) typescript-axios template. \n\nTo regenerate, overwrite kbswagger.yaml and `npm run codegen \u0026\u0026 npm run build`\n\nUsage\n-\n``` javascript\nconst killbill = require('killbill');\nconst globalAxios = require('axios');\n\nconst axios = globalAxios.create();\n\n//optional - follow location header when new object is created\naxios.interceptors.response.use(killbill.followLocationHeaderInterceptor);\n\n//optional - configure tough cookie support\nconst tough = require('tough-cookie');\nconst axiosCookieJarSupport = require('axios-cookiejar-support').default;\naxiosCookieJarSupport(axios);\naxios.defaults.withCredentials = true;\naxios.defaults.jar = new tough.CookieJar();\n\nconst config = new killbill.Configuration({\n    username: \"admin\"\n    password: \"password\",\n    apiKey: killbill.apiKey(\"bob\", \"lazar\"),\n    basePath: \"http://127.0.0.1:8080\"\n});\n\nnew killbill.AccountApi(config, null, axios).getAccountByKey(\"external_key\")\n    .then(result =\u003e console.log(result))\n    .catch(error =\u003e console.log(error));\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillbill%2Fkillbill-client-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkillbill%2Fkillbill-client-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillbill%2Fkillbill-client-js/lists"}