This is just a simple project to generate an address book for my sons' classes.
$ python -m SimpleHTTPServer 8080
That's it! Now your http server will start in port 8080. Now open a browser and type the following address:
http://127.0.0.1:8080/addressbook.html
- export the relevant google contacts' group from GMail using format 'Google CSV'
- upload exported contacts in Google Drive
- export the file on Drive to Google Docs
- download it as CSV file
- run the following command $ python gcontacts_csv2json.py mycontacts.csv cucu.json
Note that you have to change addressbook.html to use the json file generated from the previous section.