First TIme. I need a crash Course for dummies

  • 1
  • Question
  • Updated 6 years ago
First time. no clue what to do. I know nothing about json or how it works. I know HTML very well and PHP pretty well and jquery ok but not great. HELP!?
Photo of tateroftots


  • 1 Post
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of afelicioni


  • 227 Posts
  • 43 Reply Likes
First, you maybe can communicate your expectations about the API service, so better advices can be given to fit your needs. If looking for programming tips or ways to implement software logic for a project, places like stackoverflow or similar can lead to better specific solutions. Unfortunately, you write you haven't any JSON skill, so it's better you train yourself in your favourite development setup stage about topics like this before you play with API interface.

Raising from roots, the Weather Underground API service provide weather conditions and forecast datas, you can pick different families of them, so it's possibile to query for single geographic points of interest. You may notice documentation suffering to be outright, so you may need to realize yourself the best ways to interact with system.

To read data, think about as you were reading a .txt from a remote http location, with a custom syntax in the response. You'll concatenate the URL to get the response with a key supplied by Weather Underground, the features of families of data you need, the point to query for.
The best scenario would fit if you're confident in querying for a point knowing its latitude and longitude coordinates, as the system is able to guess it using different databases (with variable results... and sometimes... let me use the term "wild").

So the ingredients are the WUAPI key, the data feature you need, the point you ask the data for: ex. is a fictional URL that reflects current conditions for San Francisco. Once you're able to read a remote address like this, you're able to consume the API with your programming skills.
To get started, a basic documentation is available at ; as you mentioned PHP you'll find at a PHP code example to make your first API call.