Answers.Body: <p>I have no idea what your React application is so I am not going to be able to answer your question easily :-)</p>
  
  <p>There is an API section in the CiviCRM Developer Guide that should help you: <a href="https://docs.civicrm.org/dev/en/latest/api/" rel="nofollow noreferrer">https://docs.civicrm.org/dev/en/latest/api/</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-13T08:47:15.893Z
Answers.Text: There are several ways to use the APIs - would like to know which of the methods would be the best for a React application to use. Would it be PHP, REST, AJAX, etc ?
Answers.UserDisplayName: Jeff Salleh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-15T07:01:42.797Z
Answers.Text: As stated, I have no idea what your React application is so I do not know. Will it access CiviCRM from another server? If so, the REST is best.
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-08T07:10:12.953Z
Answers.LastActivityDate: 2019-04-08T07:10:12.953Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>I am trying to use the CiviCRM APIs from my React application. Which API methods would be the one recommended or easy to do with React application ? The easiest would be REST but since my page and civicrm will be hosted on the same machine, I prefer not to go down the REST route.</p>
  
  <p>I read that CiviMobile uses react but didn't get too much information on its implementation. </p>
  
  <p>Any recommendation and also examples or tutorials that I can reference ?</p>
  
  <p>thanks.</p>
  
Tags: <api>
Title: React with CiviCRM APIs
ThreadText: # React with CiviCRM APIs
  
  (Asked by: username_0 on 2019-04-06)
  
  I am trying to use the CiviCRM APIs from my React application. Which API methods would be the one recommended or easy to do with React application ? The easiest would be REST but since my page and civicrm will be hosted on the same machine, I prefer not to go down the REST route.
  
  I read that CiviMobile uses react but didn't get too much information on its implementation.
  
  Any recommendation and also examples or tutorials that I can reference ?
  
  thanks.
  
  **Tags:** api
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-04-08. Score: 0
  
  I have no idea what your React application is so I am not going to be able to answer your question easily :-)
  
  There is an API section in the CiviCRM Developer Guide that should help you: <https://docs.civicrm.org/dev/en/latest/api/>
  
  > **Comments:**
  > **username_0**: There are several ways to use the APIs - would like to know which of the methods would be the best for a React application to use. Would it be PHP, REST, AJAX, etc ?  
  > **username_1**: As stated, I have no idea what your React application is so I do not know. Will it access CiviCRM from another server? If so, the REST is best.  
  
  ---
  
  