Skip to content

Динамический топ за месяц через Lastfm.getCustomTop #46

Discussion options

You must be logged in to vote

Добавил проверку типа. Если обновите библиотеку, сможете использовать следующий код. Принцип тот же: первое и текущее число месяца.

  let tracks = Lastfm.getCustomTop({
    user: '',
    from: new Date().setDate(1),
    to: new Date(),
    limit: 50
  });

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@amd64fox
Comment options

@Chimildic
Comment options

@amd64fox
Comment options

Comment options

You must be logged in to vote
3 replies
@vlalog
Comment options

@vlalog
Comment options

@amd64fox
Comment options

Comment options

You must be logged in to vote
1 reply
@amd64fox
Comment options

Answer selected by Chimildic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants