How to export all your Pingdom export checks

export PINGD_AUTH="[the api key you generated in step 1]"for i in `curl -X GET https://api.pingdom.com/api/3.1/checks -H 'Authorization:Bearer $PINGD_AUTH' -s | jq -r .checks[].id`; docurl -X GET https://api.pingdom.com/api/3.1/checks/$i -H 'Authorization:Bearer $PINGD_AUTH' -s | jq -r '.check | .name + " " + .hostname + " " +.type.http.url'done
homepage example.com /
category example.com /category
article example.com /article
{"check": {"id": 1111111111,"name": "check name","resolution": 1,"sendnotificationwhendown": 6,"notifyagainevery": 0,"notifywhenbackup": true,"created": 11111111111,"type": {"http": {"verify_certificate": true,"url": "/","encryption": true,"port": 443,"requestheaders": {"User-Agent": "Pingdom.com_bot_version_1.4_(http://www.pingdom.com/)"}}},"hostname": "example.com","ipv6": false,"responsetime_threshold": 30000,"custom_message": "","integrationids": [11111],"lasterrortime": 1111111111111,"lasttesttime": 1111111111111,"lastresponsetime": 423,"lastdownstart": 1111111111111,"lastdownend": 1111111111111,"status": "up","tags": [],"probe_filters": ["region: EU"],"userids": [111111]}}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store