{"id":29461844,"url":"https://github.com/eustatos/bx24","last_synced_at":"2025-07-14T03:13:23.452Z","repository":{"id":35002456,"uuid":"195363444","full_name":"eustatos/bx24","owner":"eustatos","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-29T16:12:18.000Z","size":2930,"stargazers_count":3,"open_issues_count":4,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-23T23:05:52.993Z","etag":null,"topics":["bitrix24","jest","typedoc","typescript","webpack"],"latest_commit_sha":null,"homepage":null,"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/eustatos.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}},"created_at":"2019-07-05T07:43:26.000Z","updated_at":"2024-11-14T01:09:09.000Z","dependencies_parsed_at":"2023-01-15T11:49:25.845Z","dependency_job_id":null,"html_url":"https://github.com/eustatos/bx24","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/eustatos/bx24","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eustatos%2Fbx24","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eustatos%2Fbx24/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eustatos%2Fbx24/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eustatos%2Fbx24/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eustatos","download_url":"https://codeload.github.com/eustatos/bx24/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eustatos%2Fbx24/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265237466,"owners_count":23732510,"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":["bitrix24","jest","typedoc","typescript","webpack"],"created_at":"2025-07-14T03:13:21.222Z","updated_at":"2025-07-14T03:13:23.442Z","avatar_url":"https://github.com/eustatos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/eustatos/bx24.svg?branch=master)](https://travis-ci.com/eustatos/bx24)\n[![Maintainability](https://api.codeclimate.com/v1/badges/abafead35c167d2a819b/maintainability)](https://codeclimate.com/github/eustatos/bx24/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/abafead35c167d2a819b/test_coverage)](https://codeclimate.com/github/eustatos/bx24/test_coverage)\n\nWith this package, you can use promise instead of\n[bx24](https://api.bitrix24.com/api/v1/), that use a callback.\n\nIntended for use only in applications that are hosted in the Bitrix cloud.\n[Read more...](https://training.bitrix24.com/rest_help/index.php)\n\n## Install\n\n```\nnpm i -S bx24\n```\n\nor\n\n```bash\nyarn add bx24\n```\n\n## Usage\n\n```javascript\nimport { BX24 } from 'bx24';\n\nconst bx24 = new BX24(window, parent);\n\nbx24.getAuth().then(function(auth) {\n  console.log(auth);\n});\n//ACCESS_TOKEN: \"f501215d003d7e84003d7e8200000001100e03dc37a458d34295efbd236acf1d3e6cc7\"\n//DOMAIN: \"b24-gx7djf.bitrix24.ru\"\n//EXPIRES_IN: undefined\n//MEMBER_ID: \"10aa3c0406bae7b5dbba1d87164f4a8f\"\n//REFRESH_TOKEN: \"e580485d003d7e84003d7e8200000001100e03c1685c8a1a76097df895324671373e09\"\n```\n\n## CDN\n\n```html\n\u003cscript src=\"https://unpkg.com/bx24@latest/lib/index.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    var bx24 = new BX24();\n\n    bx24.getAuth.then(function(auth) {\n        console.log(auth);\n    });\n// ACCESS_TOKEN: \"f501215d003d7e84003d7e8200000001100e03dc37a458d34295efbd236acf1d3e6cc7\"\n// DOMAIN: \"b24-gx7djf.bitrix24.ru\"\n// EXPIRES_IN: undefined\n// MEMBER_ID: \"10aa3c0406bae7b5dbba1d87164f4a8f\"\n// REFRESH_TOKEN: \"e580485d003d7e84003d7e8200000001100e03c1685c8a1a76097df895324671373e09\"\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feustatos%2Fbx24","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feustatos%2Fbx24","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feustatos%2Fbx24/lists"}