A PHP Library
Author: Adam Magaña adammagana@gmail.com Last Edit: April 18th, 2012 Version: 0.0.1
@see http://www.rememberthemilk.com/services/api/
"repositories": [
{ "type": "vcs", "url": "https://github.com/WorkOfStan/rtm-php-library" }
],
"require": {
"workofstan/lembre-se-do-leite": "^0.2",<?php
require_once __DIR__ . '/vendor/autoload.php';
use WorkOfStan\LembreSeDoLeite\RTM;
$rtm = new RTM(APP_KEY, APP_SECRET, PERMISSIONS, FORMAT);
?>| Parameter | Type | Default | Description |
|---|---|---|---|
| APP_KEY | string | none (required) | Your RTM application's public key. |
| APP_SECRET | string | none (required) | Your RTM application's secret key. |
| PERMISSIONS | string | read | The RTM permission level your application requests from a user. |
| FORMAT | string | json |
The RTM API response format. Value can be either 'json' or 'rest'. |
<?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.
- ./blast.sh phpstan tests the code by the PHPStan
- ./blast.sh phpstan-remove removes the PHPStan reference from composer.json