0.0.11 • Published 7 months ago
@alyachan/api v0.0.11
Official Fetcher for AlyaChan API
Module to fetch api data very easily with efficient and readable code
How to use ??
for the get method
Api.get([endpoint], {[parameter]})for the post method
Api.post([endpoint], {[parameter]})Set the path first in .env
API_ENDPOINT = 'https://api.alyachan.dev/'
API_KEY = 'yourkey'Example
const Api = require('@alyachan/api')
const json = await Api.get('api/tiktok', {
url: 'https://vm.tiktok.com/ZSR7c5G6y/'
})
console.log(json)^ Thank you for using our Alyachan API service