Matching tide time with tide type

  • 1
  • Question
  • Updated 5 years ago

I've had success pulling data on the type of tide (high or low) as well as pulling times of day, but I'm not sure how to match high and low tide with the correct time of their occurrence. I'm using the code below:

var high_tide = parsed_json['tide']['tideSummary'][0]['date']['pretty'];
var type = parsed_json['tide']['tideSummary'][0]['data']['type'];

Should the array numbers( [0] ) match or is that not how I should be thinking about the problem?

Photo of mtuman1843


  • 8 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1

Be the first to post a reply!