It can be done using a library like CoAPython as your CoAP client:
from coapthon.client.helperclient import HelperClient
client = HelperClient(server=('127.0.0.1', 5683))
response = client.get('other/block')
client.stop()
'response' is an instance of the type Response and its available methods are listed in the documentation, which you'll need to build.
Whatever you need to do with the response, just use the documentation to figure out its methods and get the desired results.