Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.2k views
in Q2A Core by
please give me some development tips for creating api
by
If you have some php scripts that do what you need when invoke, is it OK?
by
I do not having any script for that. Can you please give some samples for q2a?
by
haven't you tried my answer yet?
by
thank you so much.. i tried some sample script. it is working

1 Answer

+1 vote
by

1- First of all you can see external page of site. There is some ideas about doing that.

2- Then note that if you include qa-base.php, then you can run q2a functions when include appropriate headers. for example:

<?php

  include '[path to include dir]/qa-base.php';

  $modules = qa_list_modules('module');

   print_r($modules);

prints all modules names.

Now, you can create separate files for question post, add user, ... that you want to use in other product

...