Developer API

Python

Frappe aims to achieve minimum cognitive load for its users. Hence, you can find the most used methods and utilities in the frappe namespace itself. It's the only import you need (most of the time) in a Python file.

  1. Document
  2. Database

Javascript

Frappe attaches itself to the window object under the frappe namespace. You will find most of the Client API under the frappe object. All of these methods are only available inside the Desk. A good way to explore these APIs is from the browser console.

  1. Form
  2. Controls
  3. Dialog
  4. Page
  5. Server Calls (AJAX)
  6. Common Utilities

Other

  1. REST API
  2. Jinja API