Package mindmeister :: Module common
[hide private]
[frames] | no frames]

Module common

source code


Copyright 2012 Alexey Kravets  <mr.kayrick@gmail.com>

This file is part of PythonMindmeister.

PythonMindmeister is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

PythonMindmeister is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PythonMindmeister.  If not, see <http://www.gnu.org/licenses/>.

This file contains internal PythonMindmeister function, which perform correct
calls to the mindmeister.org API interface.
Additional information can be found by this URL:
http://www.mindmeister.com/developers/authentication

This product uses the MindMeister API but is not endorsed or certified
by MindMeister.

Functions [hide private]
 
calculateApiSig(secret, **params)
Calculate API signature of the parameters list.
source code
 
createUrl(service, secret, **params)
Create URL with request for mindmeister API.
source code
 
performProxyRequest(proxy, service, secret, **params)
Perform request to mindmeister API with proxy.
source code
 
performRequest(service, token, **params)
Perform request to mindmeister API.
source code
Variables [hide private]
  BaseUrl = 'http://www.mindmeister.com/services'
  __package__ = 'mindmeister'
Function Details [hide private]

calculateApiSig(secret, **params)

source code 

Calculate API signature of the parameters list.

Arguments:
secret -- shared secret to be used for calculation.
Optional (keyword) Arguments -- any arguments.

createUrl(service, secret, **params)

source code 

Create URL with request for mindmeister API.

Arguments:
service -- service mindmeister service to use.
secret -- shared secret
Optional (keyword) Arguments -- any service parameters

performProxyRequest(proxy, service, secret, **params)

source code 

Perform request to mindmeister API with proxy.

Arguments:
proxy -- http proxy address.
service -- service mindmeister service to use.
secret -- shared secret
Optional (keyword) Arguments -- any service parameters

performRequest(service, token, **params)

source code 

Perform request to mindmeister API.

Arguments:
service -- service mindmeister service to use.
secret -- shared secret
Optional (keyword) Arguments -- any service parameters