1. 首页
  2. 考试认证
  3. 其它
  4. soundcloudClojure库与SoundCloud API交互

soundcloudClojure库与SoundCloud API交互

上传者: 2024-12-10 04:30:12上传 ZIP文件 3.75KB 热度 7次

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]\"

}))

下载地址
用户评论