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
  • Writer's pictureJames T. Morrison R(S)

Kukio

Kukio is a luxurious residential community located on the western coast of the Big Island of Hawaii. Known for its pristine beaches, clear waters, and breathtaking natural beauty, Kukio is a paradise for those looking for a secluded and exclusive getaway.


The community features a variety of homes and villas, each designed to blend seamlessly with the surrounding landscape. Many of the properties feature private pools, lush gardens, and expansive ocean views. Kukio also boasts two world-class golf courses, a spa and fitness center, and a private beach club.


One of the main draws of Kukio is its location. The community sits on the Kona-Kohala coast, known for its sunny weather, clear waters, and excellent snorkeling and swimming. The beaches here are some of the best on the island, with white sands and crystal clear waters perfect for swimming and sunbathing.


For those looking for a more active vacation, Kukio offers a wide range of activities, from hiking and biking to tennis and golf. The community also features a variety of water sports, including kayaking, stand-up paddleboarding, and snorkeling.


Kukio is also home to the Kukio Beach Club, a private beachfront facility that offers a range of amenities, including dining, a fitness center, and access to water sports equipment. The beach club is a great place to relax and unwind, with comfortable loungers, umbrellas, and beachside cabanas.


Overall, Kukio is an excellent choice for those looking for a luxurious and exclusive vacation on the Big Island of Hawaii. With its beautiful natural setting, world-class amenities, and wide range of activities, it truly is a paradise on earth.

0 views0 comments

Recent Posts

See All
  • Facebook
  • Instagram
  • Yelp
bottom of page