RandomPhotoNasa

This automation script will pull a random image from https://images.nasa.gov based on the search parameter provided. If the script is used within a widget, it will output an image in markdown format. If it is used anywhere else it will output an image in markdown format and also context data.

python · Community Common Scripts

Details

IDRandomPhotoNasa
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.11879924
Tagsdynamic-section widget

README

Script Data


Name Description
Script Type python3
Tags dynamic-section, widget

Inputs


Argument Name Description
search Search query

Outputs


There are no outputs for this script.

args:
- description: Search query.
  name: search
  defaultValue: nebula
commonfields:
  id: RandomPhotoNasa
  version: -1
dockerimage: demisto/python3:3.12.13.11879924
enabled: true
name: RandomPhotoNasa
runas: DBotWeakRole
script: ''
scripttarget: 0
subtype: python3
tags:
- dynamic-section
- widget
comment: This automation script will pull a random image from https://images.nasa.gov based on the search parameter provided. If the script is used within a widget, it will output an image in markdown format. If it is used anywhere else it will output an image in markdown format and also context data.
type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)