soundcloudClojure库与SoundCloud API交互
soundcloud 用于与 SoundCloud API 交互的 Clojure 库。
用法:
[soundcloud \"0.1.3\"]
在您的 ns 声明中加入:
(ns my.ns (:require [soundcloud.core :refer :all]))
定义不带 OAuth token 的设置:
(def settings {
:client-id \"[soundcloud api id]\"
:client-secret \"[soundcloud api secret]\"
})
定义设置并生成 OAuth token:
(def settings (get-auth-token {
:client-id \"[soundcloud api id]\"
:client-secret \"[soundcloud api secret]\"
}))
下载地址
用户评论