I want to create a difficulty calculator and need to know when each 2016th block has been created and how many blocks were created in the previous two weeks.
Do I have to count and label each block from the genesis block up manually or is there an easier way without having to download and parse the entire blockchain or use an external service?