Skip to content
Alfik majeed edited this page Feb 12, 2023 · 2 revisions

Indian Penal Code (IPC) REST API Service

Endpoints

The API has the following endpoints:

/sections

This endpoint returns a list of all sections in the IPC, with each section represented as an object with the following properties:

  • section_number: The number of the section.
  • section_name: The name of the section.
  • description: A brief description of the section.

/sections/<section_number>

This endpoint returns information about a specific section of the IPC, specified by the section_number parameter. The response includes the following properties:

  • section_number: The number of the section.
  • section_name: The name of the section.
  • description: A brief description of the section.
  • details: A more detailed explanation of the section.
Clone this wiki locally