esmmessagecyclerapi
v1.0.2
Published
cylcemessage
Downloads
7
Readme
How to use esm package?
// Using ES modules
import MyAPIClient from 'esmmessagecyclerapi';
// Create an instance of the client
const apiClient = new MyAPIClient();
// to get ur custom api go at https://discord.gg/xvGvF4m4r5
// already made api will be coming soon
// Make a request to the API endpoint
apiClient.getResult('yourapiname')
.then(data => {
console.log('Response:', data);
})
.catch(error => {
console.error('Error:', error);
});