Answers.Body: <p>Welcome to CiviCRM SE! The first place to look for this information is in the relevant section of the developers guide at <a href="https://docs.civicrm.org/dev/en/latest/api/" rel="noreferrer">https://docs.civicrm.org/dev/en/latest/api/</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-26T20:51:21.970Z
Answers.Text: Thanks Mick for the same!
Answers.UserDisplayName: Kartik Kathuria
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-26T20:23:33.743Z
Answers.LastActivityDate: 2020-02-26T20:23:33.743Z
Answers.UserDisplayName: Mick Kahn
Answers.Body: <p>I just finished writing a man page for this: <em><a href="https://docs.civicrm.org/dev/en/latest/api/v4/architecture/" rel="nofollow noreferrer">APIv4 Architecture</a></em></p>
  
  <p>Note that there are currently <a href="https://docs.civicrm.org/dev/en/latest/api/v4/differences-with-v3/" rel="nofollow noreferrer">2 versions of the CiviCRM API</a>. APIv3 has been around for years, and APIv4 is fairly new. But they both rely on core BAO classes for writing data, and a query builder for fetching data.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-05T18:22:52.233Z
Answers.LastActivityDate: 2020-03-05T18:22:52.233Z
Answers.UserDisplayName: Coleman
Body: <p>How are API's implemented in the CiviCRM Codebase? I have a idea of basic structue user &lt;-> api &lt;-> BAO &lt;-> DAO &lt;-> mysql but I guess there is more to this than just this structure. Thanks in Advance!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-02-26T20:35:22.753Z
Comments.Text: Did you have any specific questions that were not covered in the Developers Guide?
Comments.UserDisplayName: Luke Stewart
Tags: <api>
Title: CiviCRM API Implementation
ThreadText: # CiviCRM API Implementation
  
  (Asked by: username_0 on 2020-02-26)
  
  How are API's implemented in the CiviCRM Codebase? I have a idea of basic structue user <-> api <-> BAO <-> DAO <-> mysql but I guess there is more to this than just this structure. Thanks in Advance!
  
  **Tags:** api
  
  > **Comments:**
  > **username_1**: Did you have any specific questions that were not covered in the Developers Guide?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2020-02-26. Score: 5
  
  Welcome to CiviCRM SE! The first place to look for this information is in the relevant section of the developers guide at <https://docs.civicrm.org/dev/en/latest/api/>
  
  > **Comments:**
  > **username_0**: Thanks Mick for the same!  
  
  ---
  
  ### Answer by username_3 on 2020-03-05. Score: 3
  
  I just finished writing a man page for this: *[APIv4 Architecture](https://docs.civicrm.org/dev/en/latest/api/v4/architecture/)*
  
  Note that there are currently [2 versions of the CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/differences-with-v3/). APIv3 has been around for years, and APIv4 is fairly new. But they both rely on core BAO classes for writing data, and a query builder for fetching data.
  
  
  ---
  
  