Alto

Wrapper Pythonic para HighRise
Descargar ahora

Alto Clasificación y resumen

Anuncio publicitario

  • Rating:
  • Licencia:
  • GPL v3
  • Precio:
  • FREE
  • Nombre del editor:
  • Chris Cohoat
  • Sitio web del editor:
  • https://github.com/chriscohoat/

Alto Etiquetas


Alto Descripción

Python-Highrise es un módulo de Python que proporciona una forma de envolver la api api de Highrise.Installación Easy_InStall ElementTree https://github.com/chriscohoat/highrise/tarball/masterusage # Importar la envoltura Highrise. de HighRise.Wrapper Import HighRise #Preprea la interacción Highrise con el token de API y la identificación de la persona highrise_api_token = 'token_here' persona_highrise_id = 'person_id_here' hr = highrise ('https: //examplecorporation.highrisehq.com'thighrise_api_token) # obtención de la lista de Notas o Lista de correos electrónicos Notes = HR.Notes (Person_HighRise_ID) Emails = HR.Emails (Person_HighRise_ID) Interactuación con notas (usando Django) Views.py def Highrise_Interaction (Solicitud): #prepare la interacción Highrise con el token de API y la identificación de la persona highrise_api_token = 'Token_here' persona_highrise_id = 'person_id_here' hr = highrise ('https: //examplecorporation.highrisehq.com'highrise_api_token) # Obtenga lista de notas o lista de correos electrónicos Notes = HR.Notes (Person_HighRise_ID) Devuelve Render_to_response (' plantilla. HTML ', {' Notes ': Notes}, context_instance = SolicitudContext (Solicitud)) Template.html {% extiende "base.html"%} {% de contenido de bloque%} {% si no notas%}

No hay notas disponibles para esta persona.

{% else%} {% para nota en notas% }

Nota sobre {{nota.subject_name}}

Añadido en {{note.created_at}}

{{nota.body}}

> Leer más ...

{% Endfor%} {% endif%} {% endblock%} Página de inicio del producto


Alto Software relacionado

Arpía

Una biblioteca simple para interrogar un archivo HTTP Archive (HAR) ...

110

Descargar