Question: this is abit messy so sorry about that,

i am new to C# so my question might be stupid, again sorry about that.

what i want to accomplished is something like that:

```
            private void RivalAlive()
        // The Function Should be alive for 10min - if the condition is performed then the function need to die (quit) immediately, also if the 10min has passed without the condition beeing performed the function will die.
        {
            if (SmallHour == 5) // if condition is performed it need to execute the code in the condition and quit the function
            //Run Another Function Here
            //End the RivalAlive Function
        {
        }
            //If the Condition is False - keep with the loop every 1 sec till 10min has passed
        }

```

thanks alot!

Answer: 
The easiest way is to use the `googleapis` package to get access to the "mirror v1" package. See <https://github.com/burcu/google-api-nodejs-client> for more info on the package and then you can do something like:

```
var google = require('googleapis');

google.discover('mirror', 'v1' ).execute(function(err,client){
  console.log( client );
});

```

To get the `client.mirror` object, which will have `client.mirror.timeline`, `client.mirror.subscriptions`, etc.

(I'm working on sample code to illustrate this. I'll try to update this answer when it is ready.)
Technically, because Google Glass apps run in the cloud, and everything is done through REST, any server is capable of being a Glass app, no matter were it runs or what language it is.

In other words, **yes**.