Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

Commit

Permalink
Added PHP syntax highlighting to the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
adammagana committed Apr 21, 2012
1 parent 2d8e141 commit 0eba965
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@


##Usage ##Usage
###Constructor ###Constructor
``` ```php
require('rtm.php'); <?php
$rtm = new RTM(APP_KEY, APP_SECRET, PERMISSIONS, FORMAT); require('rtm.php');
$rtm = new RTM(APP_KEY, APP_SECRET, PERMISSIONS, FORMAT);
?>
``` ```
<table> <table>
<tr> <tr>
Expand Down Expand Up @@ -46,8 +48,8 @@ $rtm = new RTM(APP_KEY, APP_SECRET, PERMISSIONS, FORMAT);
</table> </table>


###Generate Authentication URL ###Generate Authentication URL
``` ```php
$authUrl = $rtm->getAuthUrl(); <?php $authUrl = $rtm->getAuthUrl(); ?>
``` ```
The value of `$authUrl` will be a RTM formatted authentication URL containing your API Key, permission level, response format, and signature. The value of `$authUrl` will be a RTM formatted authentication URL containing your API Key, permission level, response format, and signature.


Expand Down

0 comments on commit 0eba965

Please sign in to comment.