Coder Social home page Coder Social logo

yahooweathersearch's Introduction

Yahoo! Weather Search

Project Summary:
A simple command line application that fetches weather data for various locations from the Yahoo Weather API The user can make a plain text file with places that he usually checks the weather for. The program will check the weather for those places on startup and add them to a balanced binary tree. When the program is running the user can do various operations on the data such as searching adding and deleting locations as well as checking for weather of a given location without adding it to the tree

Dependencies

1.json-c
Install by typing "sudo apt-get install libjson0 libjson0-dev" in terminal
2.curl
Install by typing "sudo apt-get install libcurl4-gnutls-dev" in terminal

*Probably should do a "sudo apt-get update" before installing the libraries

System requirements

Linux and apt-get

How to run

The applications should be fairly easy to run if you are running linux(Debian based) with the latest version of the g++ compiler installed. All right so this is what you need to do:

  1. Get all the dependencies listed in the dependencies section.
  2. "g++ -o YahooWeatherSearch main.cpp WeatherTree.cpp -lcurl -l json -std=c++11", this should generate a file called YahooWeatherSearch that you can run using "./YahooWeatherSearch locations.txt"

yahooweathersearch's People

Contributors

rishabkanwal avatar

Watchers

wyrover avatar

Forkers

s96abrar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.