{ "info": { "author": "Chris Cohoat", "author_email": "chris.cohoat@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "highrise\n=============\n\npython-highrise is a way to wrap Highrise's API Pythonically.\n\nInstallation\n-----------\n\n easy_install ElementTree https://github.com/chriscohoat/highrise/tarball/master\n\n\nUsage\n-----\n\n # Import the highrise wrapper.\n from highrise.wrapper import Highrise\n \n #Prepare the Highrise interaction with the API token and person ID\n highrise_api_token = 'TOKEN_HERE'\n person_highrise_id = 'PERSON_ID_HERE'\n hr = Highrise('https://examplecorporation.highrisehq.com',highrise_api_token)\n \n #Get list of notes or list of emails\n notes = hr.notes(person_highrise_id)\n emails = hr.emails(person_highrise_id)\n \nInteracting with notes (using Django)\n-----\n\nviews.py\n\n\tdef highrise_interaction(request):\n\t\n\t\t#Prepare the Highrise interaction with the API token and person ID\n \thighrise_api_token = 'TOKEN_HERE'\n \tperson_highrise_id = 'PERSON_ID_HERE'\n \thr = Highrise('https://examplecorporation.highrisehq.com',highrise_api_token)\n \n \t\t#Get list of notes or list of emails\n \t\tnotes = hr.notes(person_highrise_id)\n \t\t\n \t\treturn render_to_response('template.html',{'notes':notes}, context_instance=RequestContext(request))\n\ntemplate.html\n\n\t{% extends \"base.html\" %}\n\t\n\t{% block content %}\n\n {% if not notes %}\n
\n\t\t{{ note.body }}\n\t\t
\n\t\t
\n\t\tRead More...\n\t