Semantics3 / semantics3-python

Python library bindings for the Semantics3 APIs
22 stars 10 forks source link

run_query() syntax is wrong in README #20

Closed parinporecha closed 7 years ago

parinporecha commented 7 years ago

In this section of README -

params = {
    webhook_uri : "http://mydomain.com/webhooks-callback-url"
}

webhook = sem3.run_query("webhooks", params, "POST")
print webhook["id"]
print webhook["webhook_uri"]

The run_query() call should be sem3.run_query("webhooks", "POST", params)