Vibehut wants to engage the developer community to build together. We’ll releasing a very early API for a few select users to open the imagination to what can be built.
Use Cases
Query
desoUserPublicKey (optional)filterBy (optional) (valid values - popular,upcomig and new) default is popularlimit (optional) default 20offset (optional) default 0roomId (optional) - will return the events of the specified room and with all the other filters applied.roomSlug (optional) - will return the events of the specified room and with all the other filters applied. (can be left empty if the roomId is already mentioned).createdBy - accept comma separated value like Facebook,DeSo
passwordProtectedpaidNFT token gatedconst axios = require('axios');
const apiKey = [API KEY];
const url = '<https://vibehut.io/api/v1/public/events>';
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);
});
Returns {
_id: '64ade89038ce4c001462f23f',
cover: [Object],
isPaidEvent: false,
price: 0,
isPasswordProtected: false,
title: 'Weekly Vibehut Platform Call',
description: '',
startDate: '2023-08-08T22:00:00.000Z',
endDate: '2023-08-08T23:00:00.000Z',
room: [Object],
createdAt: '2023-07-11T23:41:04.416Z',
rsvps: [Array],
rsvp_count: 46,
eventOwner: [Object],
isAccessibleEvent: true
}
Room specific events:
const axios = require('axios');
const apiKey = [API KEY];
const url = '<https://vibehut.io/api/v1/public/events?'>;
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);
});
Returns {
_id: '64ade89038ce4c001462f23f',
cover: [Object],
isPaidEvent: false,
price: 0,
isPasswordProtected: false,
title: 'Weekly Vibehut Platform Call',
description: '',
startDate: '2023-08-08T22:00:00.000Z',
endDate: '2023-08-08T23:00:00.000Z',
room: [Object],
createdAt: '2023-07-11T23:41:04.416Z',
rsvps: [Array],
rsvp_count: 46,
eventOwner: [Object],
isAccessibleEvent: true
}