You can use 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 of type Response whose available methods are listed in this documentation so that you can easily build it yourself. Now, once you've done that, anything you want to do with the response, check for all available methods in the documentation and get the values that you want.