Skip to content

Instantly share code, notes, and snippets.

@ghoeffner
ghoeffner / SecurityTrails WHOIS API.json
Last active March 12, 2018 21:50
This example shows how to fetch whois with a given mail address from the SecurityTrails domain API
curl -s \
--request POST \
--header "Content-Type: application/json" \
--header "APIKEY: $ST_API" \
--data-binary "{
\"filter\": {
\"whois_email\": \"chris@ueland.com\"
}
}" \
'https://api.securitytrails.com/v1/search/list/' | jq -C
curl -s --header "APIKEY: $ST_API" 'https://api.securitytrails.com/v1/history/uber.com/dns/a?page=2' | jq -C
{
"type": "a/ipv4",
"records": [
{
"values": [
{
"ip_count": 1,
"ip": "69.174.241.122"
}
curl -s --header "APIKEY: $ST_API" 'https://api.securitytrails.com/v1/domain/lyft.com/subdomains' | jq -C
{
"subdomains": [
"account",
"api",
"beta",
"blog",
"(...)",
"vpn2",
"w",
@ghoeffner
ghoeffner / elements_fitness_capacity_widget.js
Last active May 13, 2023 09:11 — forked from masselmello/rsg_group_mcfit_high5_johnreed_capacity_widget.js
iOS widget powered by the Scriptable app that shows the current capacity of your Elements Fitness & Wellness Gym
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: green; icon-glyph: dumbbell;
/**
* Script for scriptable to get the current capacity of Elements Fitness Gyms
* Originally written for McFit by masselmello, changed for elements by ghoeffner
*/
let gymId = "ELEMENTS-DONN"
let gymName = 'Elements Donnersbergerbrücke'
let param = args.widgetParameter