[英]Last.fm API - Track Duration
我正在使用Last.fm API而且我堅持看似相當簡單的事情。
其中一個答案是持續時間。 哪個返回為:
222000
但是我如何格式化(在PHP中)這樣看起來像
MIN:SEC 3:42
看起來持續時間以毫秒為單位。 只需除以1000即可獲得秒數。
[英]Last.fm or Spotify API
[英]last.fm API pagination
[英]PHP and Last.fm API
[英]Last.fm getting image from track.getinfo
[英]Error 99 - permission denied in last.fm php API call
[英]last.fm api - random / shuffle foreach loop
[英]Display Artist Info from Last.FM API
[英]How to get artist name form last.fm api
[英]Using the JSON data returned by the last.fm api
[英]Creating a PHP page that shows an image via last.fm API
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.