sean@seanmccambridge.com   (843) 696-7237
RSS feed

Buoy reports, tides and weather on @charlestonguide, @myrtle_beach Twitter accounts

July 19, 2009

I have been playing with Twitter’s API for a while now and have a few bots that provide regular updates.  My favorite functionality come from two “sister” accounts, @charlestonguide and @myrtle_beach.  This morning, I added offshore buoy reports to both accounts.

They have already been giving weather observations and tide predictions for a while.  They both have several followers.

It was a fun little project to get the latest buoy observations from NOAA’s National Data Buoy Center.  They offer an RSS feed, but I chose to scrape data from their txt data files since the RSS feed only offers the latest observation (as far as I noticed; there may be a way to manipulate it, but I felt like playing around with cURL).

There were some fun challenges like writing a function that turned wind direction from degrees to compass direction.

Anyway, I hope someone out there in the Twitter world appreciates the time I’ve spent playing with these two accounts.

 

Comments

No comments yet.

 

I appreciate your feedback. Comments are moderated. Email is required but won't be printed. Include your website if you have one.

Website question?
Just ask! :D

(843) 696-7237

sean@seanmccambridge.com

Twitter: @mccambridge

A LOT OF PEOPLE HAVE ASKED about the background photo on this site. It was taken on the beach by Fort Moultrie on the harbor side of Sullivan's Island, SC. The old, wooden sea wall has been there as long as I've lived in Charleston. The beach is a great place to watch the ships and shrimpers come in and has one of the best views of downtown Charleston.