import requests


def konk(urns=None, word=None, before=5, after=5, only_urn=True):
    """ Simple urnkonk, only urn + concordance """
    params = locals()
    #print(params)
    r = requests.post("https://api.nb.no/ngram/urnkonk", json = params)
    return r.json()