Skip to content

WorkOfStan/rtm-php-library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remember The Milk

A PHP Library

Description

Author: Adam Magaña adammagana@gmail.com Last Edit: April 18th, 2012 Version: 0.0.1

@see http://www.rememberthemilk.com/services/api/

Usage

Composer.json

    "repositories": [
        { "type": "vcs", "url": "https://github.com/WorkOfStan/rtm-php-library" }
    ],
    "require": {
        "workofstan/lembre-se-do-leite": "^0.2",

Constructor

<?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'.

Generate Authentication URL

<?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.

Development

About

A PHP library for working with the Remember The Milk API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 62.4%
  • PHP 37.6%