Posts

Weather information and season images for your app using this beautiful plugin!

Weather Info! Have you ever wanted the weather info for your app without all of the httpclient stuff? You are in the right place.. I've got an amazing yet beautiful plugin for you! Let's Get Started! Open up a new project or use the project which you are currently working on.. Today I am going to use a console project. As always right click on the solution and click on manage nuget packages. Search for plugin.weather and install the first package.. Add the following namespaces to your file.. using Plugin.Weather; Let's First get the weather of current time using the city. For that use the following code. Weather weather = Api.GetWeatherByCity("City Name"); Now we can access all the weather information using the "weather" object. The below image shows the information which we can access using the weather object. Now I am going to write all the information to the console. You can also get the weather image url and save the image as Png/Jpg/Gif Format..   C
Recent posts