Socket
Socket
Sign inDemoInstall

itunes-search-client

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    itunes-search-client

client for itunse search api.


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

itunes-search-client

Client for itunes search api.
It is designed to make API URL easily by using TypeScript and VSCode.

demo

Usage

import isc from 'itunes-search-client'

(async () => {
  const res = await isc('foo').media('music').entity('song').attribute('songTerm').send()
  const json = await res.json()
  console.log(json);
})()

If you want to use axios

import isc from 'itunes-search-client'
import axios from 'axios'

(async () => {
  const url = isc('foo').media('music').entity('song').attribute('songTerm').getUrl()
  const { data } = await axios.get(url)
  console.log(data);
})()

API

license

MIT

Keywords

FAQs

Last updated on 27 Jun 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc