Obtain and save the quote of the day

Obtain and save in file the quote of the day

[{"id":"d19a5759.d236c8","type":"inject","z":"3d2b2edf.659d32","name":"Starte das holen des Zitat des Tages","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":207.36666870117188,"y":78.75,"wires":[["61fe4c44.12e0ec"]]},{"id":"61fe4c44.12e0ec","type":"http request","z":"3d2b2edf.659d32","name":"Zitat holen","method":"GET","ret":"obj","url":"http://taeglicheszit.at/zitat-api.php?format=json","x":299.36669921875,"y":212,"wires":[["56d62e26.e9f688","91ed7f4a.b1bdc8","4a482fa1.d6b51"]]},{"id":"f5522465.712288","type":"debug","z":"3d2b2edf.659d32","name":"Debug Ausgabe","active":true,"console":"false","complete":"payload","x":768.36669921875,"y":166.25,"wires":[]},{"id":"56d62e26.e9f688","type":"contrib-json","z":"3d2b2edf.659d32","engine":"JSONSelect","command":"jq","expr":":root > .zitat","complete":"property","prop":"payload","name":"Zitat auswerten","x":551.36669921875,"y":140.75,"wires":[["f5522465.712288"]]},{"id":"91ed7f4a.b1bdc8","type":"contrib-json","z":"3d2b2edf.659d32","engine":"JSONSelect","command":"jq","expr":":root .autor","complete":"property","prop":"payload","name":"Autor auswerten","x":555.36669921875,"y":211.75,"wires":[["f5522465.712288"]]},{"id":"4a482fa1.d6b51","type":"json","z":"3d2b2edf.659d32","name":"Zitat","x":529.36669921875,"y":287.75,"wires":[["a265b5ad.00c108"]]},{"id":"a265b5ad.00c108","type":"file","z":"3d2b2edf.659d32","name":"in Datei speichern","filename":"zitat-des-tages.txt","appendNewline":true,"createDir":false,"overwriteFile":"false","x":724.36669921875,"y":288.5,"wires":[]}]

Flow Info

Created 8 years, 7 months ago
Updated 8 years, 6 months ago
Rating: 5 3

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • file (x1)
  • http request (x1)
  • inject (x1)
  • json (x1)
Other

Tags

  • quote
  • day
  • file
  • save
  • zitat
  • ermitteln
  • taeglicheszit.at
  • wenzlaff.de
  • wenzlaff.info
  • kleinhirn.eu
  • http
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option