{"repo":"2BAD/bitrix","free":true,"listed":false,"github":"https://github.com/2BAD/bitrix","clone":"git clone https://github.com/2BAD/bitrix.git","description":"Bitrix24 REST API client that doesn't suck.","language":"TypeScript","stars":112,"topics":["bitrix","api","client","typescript","bitrix24","rest","rest-client","api-client","bitrix-api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Bitrix24 REST API client that doesn't suck - 🔥 No bullshit - ✨ Expressive API - 💪 Strongly typed methods and requests results with TypeScript - 🚀 Handles records batching and rate limiting for you - ❤️ Promise-based Install Usage Init client with Bitrix API endpoint and access token and use the client to ease your Bitrix pain: Authentication Before you'll be able to use Bitrix REST API, you need to authenticate. There are two ways to do that: 1. A harder, but proper way — create a Bitrix application and then authenticate with an OAuth. Authentication with an OAuth requires some additional steps and that's up to you to deal with it using a lambda function, some server or a Postman. That will yield an access token. Use it to init the client: Note, that access token lives only 30 minutes and should be refreshed periodically with provided by OAuth refresh token, which in turn lives 1 month. 2. An easier way — create a Bitrix inbound webhook with required permissions. It will instantly give you an endpoint with a token inside of it. No additional authentication or access tokens required to use it: That endpoint lives indefinitely. Rejoice and hope that it won't backfire on you. API - Generic - call() - list() - batch() - CRM - Company - Contact - Currency - Deal - Lead - Status - User How it works The client tries hard to provide a consistent, strongly typed and at the same time effortless experience. It takes care of the any necessary batching to run \"large\" commands, like ret","default_branch":null,"files":null,"tree":[],"storefront":"/r/2BAD","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/2BAD/bitrix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}