Skip to content

raylan-oliveira/jsonAnalytic

Repository files navigation

jsonAnalytic

List all keys & all values in .json; [Windows, Linux, Mac]

Features

Parsing json files by stdin and URL; Create a cache.json file from several parsed .json files / [Multiprocessing coming soon]

Download latest version (Windows)

Demo:

Demon

Demo Cache:

Demon

Dependencies

 pip install -r requeriments.txt

Run

 python jsonAnalytic.py -i file.json # list all keys in file.json & create _file_cache.json
 python jsonAnalytic.py -i "https://aws.random.cat/meow?ref=apilist.fun" # list all keys in URL response & create _aws.random.cat_cache.json
 python jsonAnalytic.py -i file.json -k name url # list values keys [name, url] in file.json & create _name_url_cache.json
 cat list_jsons.txt | python jsonAnalytic.py -p # list all json keys from list_jsons.txt & create _stdin_cache.json
 cat list_jsons.txt | python jsonAnalytic.py -p -k url name # list all json values keys [url, name] from list_jsons.txt & create _stdin_cache.json
 cat list_urls_jsons.txt | python jsonAnalytic.py -p # list, using requests, all json keys from list_urls_jsons.txt & create _stdin_cache.json
 python jsonAnalytic.py -i _stdin_cache.json # list all keys in _stdin_cache.json // not using requests, not create cache 

Compile - Windows & Linux & Mac

 pip install pyinstaller
 pyinstaller jsonAnalytic.py --onefile