Skip to content
Python implementation of the client to openinviter.com - the leading online contact importing solution http://www.mellowmorning.com/2010/08/09/django-open-inviter-contact-importer-python/
PHP Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
django_open_inviter
php_api
.gitignore
LICENSE.txt
MANIFEST.in
README.rst
requirements.txt
setup.py

README.rst

DjangoOpenInviter

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
Something went wrong with that request. Please try again.