Setting up simple GET request and storing value as numeric logic object

Maybe this post can lead you in the right direction