Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amitu/dgci
Django Google Contact Importer
https://github.com/amitu/dgci
Last synced: 1 day ago
JSON representation
Django Google Contact Importer
- Host: GitHub
- URL: https://github.com/amitu/dgci
- Owner: amitu
- License: bsd-3-clause
- Created: 2009-03-13T22:52:11.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-03-14T00:19:18.000Z (over 15 years ago)
- Last Synced: 2024-04-17T02:59:20.115Z (7 months ago)
- Language: Python
- Homepage:
- Size: 78.1 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Django Google Contact Importer
==============================This application wraps Google Contact API, using AuthSub, and provides easy
access to contacts of a Google user. Its primary usage is for writing
"Invite Your Friends" like functionality.Installation:
* Install gdata.py_
* Install ElementTree_
* Put dgci folder somewhere in PYTHONPATH
* Add dgci to settings.py under INSTALLED_APPS
* (r'^dgci/', include('dgci.urls')), into urls.pyUsage:
* Point user to /dgci/start/?next=YourURL
It will store the addressbook into requset.session["dgci_contact_feed"] and
then redirect users to YourURL once addressbook has been imported.Some examples of how to work with dgci_contact_feed_ object.
Enjoy!
.. _gdata.py: http://code.google.com/p/gdata-python-client/downloads/list
.. _ElementTree: http://pypi.python.org/pypi/elementtree/
.. _dgci_contact_feed: http://code.google.com/apis/contacts/docs/1.0/developers_guide_python.html#Retrieving