Search code examples
pythonhighrise

Access Highrise's API with Python?


How can I access 37 signals Highrise's API with Python? Found wrappers for PHP/Ruby, but not Python. I'm writing my own now, anyone have advice on getting over the first hurdle of authentication with Python?


Solution

  • I wrote (am writing, really) a Highrise API wrapper for Python. It uses Python objects for each of the Highrise classes and work a lot like the Django ORM:

    >>> from pyrise import *
    >>> Highrise.server('my-server')
    >>> Highrise.auth('api-key-goes-here')
    >>> p = Person()
    >>> p.first_name = 'Joe'
    >>> p.last_name = 'Schmoe'
    >>> p.save()
    

    You can get the source from GitHub: https://github.com/feedmagnet/pyrise

    Or install it from PyPI:

    $ sudo pip install pyrise