![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
nuxt-musixmatch
Advanced tools
NuxtJS module musixmatch API The simplified NuxtJS module for request Musixmatch API support. Inspire by https://github.com/c0b41/musixmatch. Request are pretty awesome, but I found myself using it into NuxtJS
Also check out here to using the methods that are very similar to request
musixmatch
dependency to your projectyarn add musixmatch # or npm install musixmatch
musixmatch
to the modules
section of nuxt.config.js
{
modules: [
// Simple usage
'musixmatch',
// With options
['musixmatch', { /* module options */ }]
]
}
{
modules: [
// Simple usage
'musixmatch'
],
// With options
musixmatch: {
//Required
apikey: '<Your Musixmatch API Key>'
//Optional default 'https://api.musixmatch.com/ws/1.1/'
baseURL: '<Musixmatch API version root URL>'
//optional default is json
format: 'json'
//Optional if you have problem with CORS default is 'https://cors-anywhere.herokuapp.com/'
//if you want to remove default cors-anywhere you should set value to be ''
corsURL: ''
//You can easily integrate to NuxtJS Proxy Module.
//This is highly recommended to prevent CORS and production/deployment problems.
//See below simple configuration
proxyURL: ''
}
}
Now you can use all Musixmatch services with $this.musixmatch
and followed by method
this.$musixmatch.chartArtists({ page: 1, page_size: 3, country: 'us'}).then(function (res) {
if (res != null) {
console.log(res.artist_list)
}
})
For more information how to use Methods and Params with example... please refer to https://github.com/c0b41/musixmatch#methods
https://cors-anywhere.herokuapp.com/
to prevent CORS problemsmodules: [
'nuxt-musixmatch'
],
musixmatch: {
apikey: '<API Key>',
corsURL: 'https://cors-anywhere.herokuapp.com/'
},
@nuxtjs/axios
and Proxy Module to prevent CORS problemsmodules: [
'@nuxtjs/axios',
'nuxt-musixmatch'
],
musixmatch: {
apikey: '<API Key>',
proxyURL: '/api/'
},
axios: {
proxy: true
},
proxy: {
'/api/': {
target: 'https://api.musixmatch.com/ws/1.1/',
pathRewrite: { '^/api/': '' }
}
},
Copyright (c) IMAN
FAQs
NuxJS module musixmatch api
The npm package nuxt-musixmatch receives a total of 3 weekly downloads. As such, nuxt-musixmatch popularity was classified as not popular.
We found that nuxt-musixmatch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.