forked from dixcart/CloudFlare-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the official API documentation links and corrected the grammar in places
- Loading branch information
1 parent
cc54839
commit 7595c84
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#CloudFlare API PHP Binding | ||
|
||
A basic PHP binding for the [CloudFlare](https://www.cloudflare.com/) Client and Host APIs. Depending on the number of parameters passed, you can use either the host functions or the client functions. | ||
|
||
Returns a PHP object in all cases. | ||
This is a basic PHP binding for the [CloudFlare](https://www.cloudflare.com/) [Client](https://www.cloudflare.com/docs/client-api.html) and [Host](https://www.cloudflare.com/docs/host-api.html) APIs. | ||
|
||
Depending on the number of parameters passed, you can use either the host functions, or the client functions. | ||
|
||
A PHP object is returned in all cases. | ||
|
||
|
||
##Client API | ||
|
||
|
@@ -11,6 +15,7 @@ Returns a PHP object in all cases. | |
$cf = new cloudflare_api("[email protected]", "799df833d7a42adf3b8e2fd113c7260b955b8e95ac42c"); | ||
$response = $cf->stats("example.com", INTERVAL_30_DAYS); | ||
|
||
|
||
##Host API | ||
|
||
###Usage | ||
|