Introduction

Call the local API to operate the app to open, configure the proxy, etc., to help users realize the automatic script function.

JavaScript demo

Note: The request data is only for demo, for details, please refer to the API document.

Python demo

Note: The request data is only for demo, for details, please refer to the API document.

Postman debug demo, import to use

Service Introduction

Support the use of browser functions via Local API to help users run their own automation scripts.

How to use

  1. Install and log in to BitBrowser.

  2. To Settings, find Local API url and port.

  3. Download and run demo.

Interface instructions

  • Request method is post, and the parameter passing method is responseBody.

  • The interface returns a json object, success is true and the operation is successful. If there is any returned data, it will be appended to the data object

  • When the interface returns success as false, it means that the business failed, which may be due to program reasons or parameter verification, etc., and the failure information will be appended to msg

// success example
{
  success: true,
  data: {
    id: '2c9c29a28sdd33dds8026f78e380142',
    groupName: 'name'
  }
}

// failed example
{ success: false, msg: 'Id is required' }

API Quick Start

Last updated