{ "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

No notes available for this person.

\n {% else %}\n {% for note in notes %}\n \n

Note about {{ note.subject_name }}

\n

Added at {{ note.created_at }}

\n\t

\n\t\t{{ note.body }}\n\t\t
\n\t\t
\n\t\tRead More...\n\t

\n\t\n\t{% endfor %}\n\t{% endif %}\n\t\n\t{% endblock %}\n\nTesting\n-------\n\nMore to come with testing.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chriscohoat/highrise", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "highrise", "package_url": "https://pypi.org/project/highrise/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/highrise/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/chriscohoat/highrise" }, "release_url": "https://pypi.org/project/highrise/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Pythonic wrapper for Highrise.", "version": "0.1.0" }, "last_serial": 435254, "releases": { "0.1.0": [] }, "urls": [] }