You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mapping.js was removed in v.5.0.0, is needed to retrieve a valid pairId without accessing to investing.com.
The new API will be:
import{searchQuotes}from'investing-com-api'constsearchString='SWDA'// a string to search (required)constoptions={// optionalfilter: {type: 'ETF',exchanges: ['Switzerland','Milan','London']}}constquotes=awaitsearchQuotes(searchString,options)
As
mapping.js
was removed inv.5.0.0
, is needed to retrieve a validpairId
without accessing to investing.com.The new API will be:
The API return an array like this:
The text was updated successfully, but these errors were encountered: