Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ph7software/ph7cms-http-rest-push-data

:iphone: 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
https://github.com/ph7software/ph7cms-http-rest-push-data

api ph7builder ph7cms php rest rest-api restful-api

Last synced: about 2 months ago
JSON representation

:iphone: 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

Awesome Lists containing this project

README

        

# pH7CMS HTTP REST Push Data Class

## Overview

This **PH7CMS 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 a **pull request** on this Git repo.

## How to Use

Here's a basic example:

```php
'[email protected]',
'password' => '123456pH7CMS89'
];

// Login the user
$aRes = $oPH7CMSApi->post('api/user/login', $aUserLogin);

// Show the response
echo var_dump( $oPH7CMSApi->getResponse(PH7\External\Api\PH7CMS::ARR_TYPE) ); // Get the response in Array
```

## Documentation

**[How To Use the RESTful API and Add new Endpoints
](https://github.com/pH7Software/pH7-Social-Dating-CMS/wiki/How-To-Use-the-RESTful-API-and-Add-new-Endpoints)**

## Website

**[Social Dating Network Script](http://ph7cms.com)**

## Author

Pierre-Henry Soria

## Contact the Author

By email at: *phy [AT] hizup [D0T] uk* or at: *ph7software [AT] gmail [D0T] com*

## License

License: [General Public License 3](http://www.gnu.org/licenses/gpl.html) or later; See the *PH7.LICENSE.txt* and *PH7.COPYRIGHT.txt* files for more details.