get https://api.thethings.io/v2/things//resources/
This method returns the values of the resource with the specified RESOURCE_KEY from the corresponding THING_TOKEN. To read data, use the operation GET /things/ with the thing token and the key that you are using to store the values.
Remember to replace KEY by the key that you used on the WRITE operation ('fun' was the key used in the example code).