Trying to connect to ttn network

Do you have an example that works?

hi,

here is code for cubecell:

There is no example of TTN access at the end of this link?