How to log in using OAuth2 and making a httpwebrequest for getting json. This sample is using Airthings API.