mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Update name of API entires JSON files
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
# create json directory if not already present
|
||||
mkdir -p ../json
|
||||
# parse API README and print (minified) JSON to stdout, redirect to /json
|
||||
node md2json.js ../README.md > ../json/api.min.json
|
||||
node md2json.js ../README.md > ../json/entries.min.json
|
||||
# beautify the previously created JSON file, redirect to /json
|
||||
python -m json.tool ../json/api.min.json > ../json/api.json
|
||||
# print out pretty JSON (useful for debugging, checking for new entries, etc)
|
||||
cat ../json/api.json
|
||||
python -m json.tool ../json/entries.min.json > ../json/entries.json
|
||||
# print out pretty JSON (useful for debugging, checking for new entries, etc)
|
||||
cat ../json/entries.json
|
||||
|
||||
Reference in New Issue
Block a user