正在用 Spotify 播放 正在用 YouTube 播放
前往 YouTube 视频

正在加载播放器...

从 Spotify 记录音乐?

将您的 Spotify 帐户连接到您的 Last.fm 帐户,通过任何设备或平台上的任何 Spotify 应用记录您所听的一切内容。

连接到 Spotify

关闭

# XML-RPC

# XML-RPC Requests

Send xml-rpc requests as HTTP POST requests to http://ws.audioscrobbler.com/2.0/ . Send your params as named arguments using a struct in the first param node. See the example below.

<methodCall>
 <methodName>user.gettoptags</methodName>
 <params>
  <param>
   <value>
    <struct>
     <member>
      <name>user</name>
      <value>
       <string>joanofarctan</string>
      </value>
     </member>
     <member>
      <name>api_key</name>
      <value>
       <string>b25b959554ed76058ac220b7b2e0a026</string>
      </value>
     </member>
    </struct>
   </value>
  </param>
 </params>
</methodCall>

# XML-RPC Responses

XML-RPC requests will receive responses in XML-RPC format by default. See the XML-RPC specification for more information.

API Calls