bitcoin core – Blockchain Info BTC Hash-Rate API

I’d like to get the history of hash rate, Miners Revenue, Difficulty, Block Size of BTC (& other coins) since 2013 and preferably in different granularity (i.e., 1d, 1hr,…) with Python. I know Blockchain Info. provides such information. However, I cannot write API scripts to stream it to my code.