Giter Site home page Giter Site logo

Audio about bilibilikit HOT 2 OPEN

apollozhu avatar apollozhu commented on May 29, 2024
Audio

from bilibilikit.

Comments (2)

ApolloZhu avatar ApolloZhu commented on May 29, 2024

Single Song

Audio e.g. https://www.bilibili.com/audio/au418827
Info https://www.bilibili.com/audio/music-service-c/web/song/info?sid=418827
Categories https://www.bilibili.com/audio/music-service-c/web/tag/song?sid=418827
Authors https://www.bilibili.com/audio/music-service-c/web/member/song?sid=418827
Download URL https://www.bilibili.com/audio/music-service-c/web/url?sid=195471&privilege=2&quality=2

from bilibilikit.

ApolloZhu avatar ApolloZhu commented on May 29, 2024

i = https://www.bilibili.com/audio/music-service-c

  • getSongInfo: get, i + "/web/song/info"
  • getSongType: get, i + "/web/tag/song"
  • getSongMember: get, i + "/web/member/song"
  • getSongLrc: get, i + "/web/song/lyric
  • getUPHotSong: get, i + "/web/song/upper-hit
  • getIncludeSongList: get, i + "/web/menu/song-contain",
  • getUserInfo: get, i + "/web/user/info"
  • getFansData: get, i + "/web/stat/user"
  • addCollectSong: postform, i + "/web/collections/songs-coll"
  • cancelCollectSong: deleteform, i + "/web/collections/songs-coll"
  • checkCollectSong: get, i + "/web/collections/songs-coll"
  • getSongShareNum: get, i + "/web/stat/song"
  • getMenuShareNum: get, i + "/web/stat/menu"
  • getMenuInfo: get, i + "/web/menu/info"
  • getMenuType: get" i + "/web/tag/menu"
  • getSongInMenu: get, i + "/web/song/of-menu"
  • getDefaultCollection: get, i + "/web/collections/default"
  • getCollectionMenu: get", i + "/web/collect/menus"

Will NOT Implement

  • isLogin: get, "//api.bilibili.com/x/web-interface/nav"
  • getFollowStatus: get, i + "/web/follow/chk"
  • followUp: postform, i + "/web/follow/upper"
  • cancelFollow: deleteform, i + "/web/follow/upper"

    addCollectMenu: function(t) {
        return g("postform", i + "/web/collect/menu", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    cancelCollectMenu: function(t, e) {
        return g("deleteform", i + "/web/collect/menu", t, e).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    checkCollectMenu: function(t) {
        return g("get", i + "/web/collect/menu", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getLeadBoardList: function(t) {
        return g("get", i + "/web/menu/rank", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getIncludeMenuInfo: function(t) {
        return g("get", i + "/web/menu/6?sid=" + t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getHotMenuList: function(t) {
        return g("get", i + "/web/menu/hit", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getCollectionList: function(t) {
        return g("get", i + "/web/song/of-coll", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getErrorImages: function(t) {
        return g("get", "//www.bilibili.com/activity/web/view/data/31", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getBanner: function(t) {
        return g("get", i + "/web/home/banner", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getHitList: function(t) {
        return g("get", i + "/web/home/hit-rank", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getALlHitList: function(t) {
        return g("get", i + "/web/home/list-rank", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getActivityInfo: function(t) {
        return g("get", "//www.bilibili.com/activity/subject/" + t.activityId + "?aid=" + t.sid).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getActivityToken: function(t) {
        return g("get", "//www.bilibili.com/activity/account/token", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    voteActivity: function(t, e) {
        return g("postform", "//www.bilibili.com/activity/likes/like/" + t.lid + "?oid=" + t.oid + "&action=1", e).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getCoinExp: function(t) {
        return g("get", i + "/web/coin/exp", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getPayCoinNumber: function(t) {
        return g("get", i + "/web/coin/audio", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    payCoin: function(t) {
        return g("postform", i + "/web/coin/add", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    upperRecommend: function(t) {
        return g("get", i + "/web/home/recommend/upper", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getCreationList: function(t) {
        return g("get", i + "/web/collections/list", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getSongInCollection: function(t) {
        return g("get", i + "/web/collections/songs-coll-ids", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getCollectInfo: function(t) {
        return g("get", i + "/web/collections/info", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    collectSong: function(t) {
        return g("postform", i + "/web/collections/song", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getSimilarSongs: function(t) {
        return g("get", i + "/web/song/similar", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    deleteMyCollect: function(t, e) {
        return g("deleteform", i + "/web/collections/del", t, e).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    getCreatedPlayList: function(t) {
        return g("get", o + "/medialist/gateway/base/created", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    dealSourceInPlayList: function(t) {
        return g("postform", o + "/medialist/gateway/coll/resource/deal", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    deleteMedia: function(t) {
        return g("postform", o + "/medialist/gateway/coll/resource/batch/del", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    checkSourceCollected: function(t) {
        return g("get", o + "/medialist/gateway/coll/resource/check", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    },
    addPlayList: function(t) {
        return g("postform", o + "/medialist/gateway/base/add", t).then(function(t) {
            return 0 === t.code ? t.data : r.a.reject(t)
        })
    }
};

from bilibilikit.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.