Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 django_open_inviter
Octocat-spinner-32 php_api initial import August 10, 2010
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 requirements.txt
Octocat-spinner-32 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.