Hi Madhwesh,
you may use an Azure access token as the value of the appid parameter. Simply add the code to obtain a new access token every 10 minutes, and then pass it in the translate call as the appid.
The sample here
http://msdn.microsoft.com/en-us/library/hh454950.aspx includes the method for obtaining the access token based on your client ID and client secret.
Let us know if this helps,
Chris Wendt
Microsoft Translator