import {fetch} from 'wix-fetch'; function parseRetsXml(xml) { const parser = new DOMParser(); const xmlDoc = parser.parseFromString(xml, "text/xml"); const retsNode = xmlDoc.getElementsByTagName("RETS")[0]; const replyCode = retsNode.getAttribute("ReplyCode"); const replyText = retsNode.getAttribute("ReplyText"); const loginUrl = retsNode.getAttribute("Login"); const searchUrl = retsNode.getAttribute("Search"); return { replyCode, replyText, loginUrl, searchUrl }; } async function searchMLS(xml, query) { const retsInfo = parseRetsXml(xml); const response = await fetch(retsInfo.searchUrl, { method: 'post', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: `search=${encodeURIComponent(query)}` }); const results = await response.json(); return results; } const xml = ' Broker = MemberName = 79190-RETSIDX James T Morrison MetadataVersion = 8.09.00001 MinMetadataVersion = 8.09.00001 User = 547029,NULL,NULL,NULL Login = http://rets.hawaiiinformation.com:6103/rets/login Logout = http://rets.hawaiiinformation.com:6103/rets/logout Search = http://rets.hawaiiinformation.com:6103/rets/search GetMetadata = http://rets.hawaiiinformation.com:6103/rets/getMetadata GetObject = http://rets.hawaiiinformation.com:6103/rets/getObject Balance = 0.01 TimeoutSeconds = 1800 '; const query = 'property type:Residential'; searchMLS(xml, query).then(results => { console.log(results); });
top of page
feature-bananas-in-hawaii.jpg

South Kona

The Full Story

South Kona is a place of natural beauty and rich history. As you travel through the region, you'll come across iconic landmarks such as the Aloha Theatre in Kainaliu, Cooks Monument in Kealakekua Bay, and The Kona Pacific Farmers Cooperative in Napoopoo. The area is known for its lush greenery and picturesque farms that dot the hillsides.

One of the most stunning places in South Kona is the Wailapa Valley. It is home to some of the most acclaimed coffee farms on the island, and even in the world. The coffee beans grown here are highly sought after for their unique flavors and high quality.

As you enter South Kona, you'll be greeted by the charming town of Kainaliu. The town is steeped in history and culture, as seen in its architecture and the friendly locals that populate the area. Here, you'll find a variety of stores and boutiques, offering everything from unique souvenirs to locally made crafts. If you're looking for a bite to eat, there are plenty of options to choose from, whether you're in the mood for fine dining or a traditional plate lunch.

Let’s Work Together

Get in touch so we can start working together.

  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

Thanks for submitting!

  • Facebook
  • Instagram
  • Yelp
bottom of page