Skip to content

Instantly share code, notes, and snippets.

View theriverman's full-sized avatar

Kristof Daja theriverman

View GitHub Profile
@theriverman
theriverman / python3_lync-sample1.py
Last active March 31, 2018 10:38 — forked from msmorul/lync-sample1.py
Example python3 script for authenticating to Lync and creating an application endpoint that lists all of a persons contacts. Python example for what's described here https://ucwa.lync.com/documentation/keytasks-createapplication
import requests
import json
from urllib.parse import urlparse
sip_domain = "SIP_DOMAIN.COM"
username = "USERNAME@SIP_DOMAIN.COM"
password = "YOUR_LYNC_PASSWORD"
def extract_auth_url(_string):