Skip to content

Commit

Permalink
Updated the readme
Browse files Browse the repository at this point in the history
Added the official API documentation links and corrected the grammar in
places
  • Loading branch information
GrahamCampbell committed Mar 19, 2013
1 parent cc54839 commit 7595c84
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
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

Expand All @@ -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
Expand Down

0 comments on commit 7595c84

Please sign in to comment.