A simple bash script to save data from bitcoin (or any other similar coin) rpc calls.
collect /outputfolder /path/to/bitcoin-cli rpc-user rpc-password port
collect_latest_blocks /outputfolder /path/to/bitcoin-cli rpc-user rpc-password port num_blocks
Add it to cron for instance.
getpeerinfo
getmininginfo
getconnectioncount
getmempoolinfo
getblockcount
getnetworkinfo
getnettotals
getdifficulty
getblockchaininfo
gettxoutsetinfo
getbestblockhash
getchaintips
getmemoryinfo
/outputfolder/rpc-call/latest.json
/outputfolder/rpc-call/daily/yymmdd.json
/outputfolder/rpc-call/hourly/yymmddhh.json
https://xmy-history.coinid.org/
https://xmy-history.coinid.org/getbestblockhash/latest.json
https://xmy-history.coinid.org/getblockcount/latest.json
https://xmy-history.coinid.org/getblockchaininfo/latest.json
https://xmy-history.coinid.org/getchaintips/latest.json
https://xmy-history.coinid.org/getdifficulty/latest.json
https://xmy-history.coinid.org/getmempoolinfo/latest.json
https://xmy-history.coinid.org/gettxoutsetinfo/latest.json
https://xmy-history.coinid.org/getmemoryinfo/latest.json
https://xmy-history.coinid.org/getmininginfo/latest.json
https://xmy-history.coinid.org/getconnectioncount/latest.json
https://xmy-history.coinid.org/getnetworkinfo/latest.json
https://xmy-history.coinid.org/getnettotals/latest.json
https://xmy-history.coinid.org/getpeerinfo/latest.json
https://xmy-history.coinid.org/latestblocks/10000/pow_algo_id.json
https://xmy-history.coinid.org/latestblocks/10000/pow_algo.json
https://xmy-history.coinid.org/latestblocks/10000/difficulty.json
https://xmy-history.coinid.org/latestblocks/10000/size.json
https://xmy-history.coinid.org/latestblocks/10000/weight.json
https://xmy-history.coinid.org/latestblocks/10000/time.json
For less data replace 10000 with 1000 or 100.