Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork14
📱 If you have to developed an iOS, Android or Web app that have to communicate with data of your pH7CMS website. This class will be very useful for you
pH7Software/pH7CMS-HTTP-REST-Push-Data
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ThisPH7CMS class helps to retrieve the data from the API (natively integrated to pH7CMS) from another app (iOS/Android Apps, websites, etc.).
If your app or website that you want to integrate pH7CMS's data is coded is Java, Python, Ruby, C# or in another language, you can easily transform this class to another language by taking inspiration from the class.After that, it would be great if you can send the class by making apull request on this Git repo.
Here's a basic example:
<?phprequire'PH7CMS.class.php';$oPH7CMSApi =newPH7\External\Api\PH7CMS('YourPrivateApiKey','http://your-ph7cms-site.com');/***** Log a user *****/$aUserLogin = ['email' =>'myemail@hizup.uk','password' =>'123456pH7CMS89'];// Login the user$aRes =$oPH7CMSApi->post('api/user/login',$aUserLogin);// Show the responseechovar_dump($oPH7CMSApi->getResponse(PH7\External\Api\PH7CMS::ARR_TYPE) );// Get the response in Array
How To Use the RESTful API and Add new Endpoints
Pierre-Henry Soria
By email at:phy [AT] hizup [D0T] uk or at:ph7software [AT] gmail [D0T] com
License:General Public License 3 or later; See thePH7.LICENSE.txt andPH7.COPYRIGHT.txt files for more details.
About
📱 If you have to developed an iOS, Android or Web app that have to communicate with data of your pH7CMS website. This class will be very useful for you
Topics
Resources
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.