skip to navigation
skip to content

DjangoOpenInviter 1.0

Python implementation of the client to openinviter.com - the leading online contact importing solution

Downloads ↓

Allows users of django and python to access the open inviter system. OpenInviter.com is a widely used contact importer. It allows you to import your contacts from a wide scala of email services and social networks.

by:

thierryschellenbach at gmail.com

http://www.mellowmorning.com/

Attempts to port the undocumented open inviter API to python :)

Understanding the PHP API

There are tons of files, but plugins/_hosted.plg.php overwrites almost everything.

Hosted API

  • Post XML to http://hosted.openinviter.com/hosted/hosted.php.

  • <import>
      <service>{{ service }}</service>
      <user>{$user}</user>
      <password>{$pass}</password>
    </import>
    
  • Authentication by private key, used to sign the XML with an md5 hash.

  • Supported services are requested and cached every now and then.

TODO

  • Can't get hosted services lookup to work (services() function)
  • Contacts and services for a function name is ugly... import_contacts might be better
 
File Type Py Version Uploaded on Size # downloads
DjangoOpenInviter-1.0.zip (md5) Source 2010-09-01 8KB 499
  • Author: Thierry Schellenbach
  • Home Page: http://github.com/tschellenbach/DjangoOpenInviter
  • License:
    Copyright (c) 2010, Thierry Schellenbach (http://www.mellowmorning.com/)
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without modification,
    are permitted provided that the following conditions are met:
    
        1. Redistributions of source code must retain the above copyright notice,
           this list of conditions and the following disclaimer.
    
        2. Redistributions in binary form must reproduce the above copyright
           notice, this list of conditions and the following disclaimer in the
           documentation and/or other materials provided with the distribution.
    
        3. Neither the name of DjangoOpenInviter nor the names of its
           contributors may be used to endorse or promote products derived from
           this software without specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • Categories
  • Package Index Owner: tschellenbach
  • DOAP record: DjangoOpenInviter-1.0.xml