π§βπ» API for Software Developers
const axios = require('axios');
const apiKey = [API KEY];
const url = 'https://vibehut.io/api/v1/public/events';
// or any endpont of your choosing!
const headers = {
'api-key': `${apiKey}`
};
axios.get(url, { params, headers })
.then(response => {
console.log(JSON.stringify(response.data.data[0]));
})
.catch(error => {
console.error(error);
});Last updated