Commit 1972fadf authored by Bram Daams's avatar Bram Daams
Browse files

testcode

parent df2281a8
...@@ -12,7 +12,7 @@ $ pip install . ...@@ -12,7 +12,7 @@ $ pip install .
## Test ## Test
For now, create a file `test.py` For now, create a file `test.py`
``` python ``` python
from hc import hc, hcCred, hcRegistry from hc import hcCred, Healthchecks
cred = hcCred('https://hc.example.com/api/v1/', 'mysecretapikey') cred = hcCred('https://hc.example.com/api/v1/', 'mysecretapikey')
h = Healthchecks(cred) h = Healthchecks(cred)
......
[
{
"JOB_ID": "false1",
"HC_ID": "c6078292-6ae8-43b5-a23e-9068e2f400ad",
"hash": "7fd04f078e7ec8c20d0fa5c0a7d7e7cd"
},
{
"JOB_ID": "false2",
"HC_ID": "d597d9ff-119c-4562-988e-e0c382e95fae",
"hash": "6f99db84b1563cbc9002ef7dbc9b48da"
}
]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment