command
module
Version:
v0.0.0-...-413c3ac
Opens a new window with list of versions in this module.
Published: Sep 17, 2018
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
api-163-go
Yitimo's 163 api in golang. Study use only.
See the project here.
Notes:
- this is just a RESTful api, so you still need to have a client.
- This go api is under
go-martini
, so after cloning thie repo, you should also go get
the martini
- modules in this api are all named by
魔法少女まどか☆マギカ
: )
How to run
go run main.go
or run after build:
go build
By default it will listen at http://localhost:9999
About authorization
Currently it's using a martini submodule.
-
IP address white list
only support the IPs configured by kyouko
-
Username & password authorization
currently they're static yitimo
and iamyitimo
So if you want to call this api, just clone
it, update with your auth config and run in your own server.
Currently APIs
Search
param |
desc |
is needed |
:words |
search words |
yes |
:page |
pagination, start from 1 |
yes |
:limit |
item number per page |
yes |
path |
desc |
/search |
search song |
/search/album |
search album |
/search/artist |
search artist |
/search/playlist |
search playlist |
PlayList
param |
desc |
isneeded |
:cat |
catalogue in chinese |
yes |
:order |
hot or new |
yes |
:page |
pagination, start from 1 |
yes |
:limit |
item number per page |
yes |
path |
desc |
/playlist/catalogue |
get all catalogues |
/playlist/:cat/:order/:page/:limit |
get playlists by cat&order |
/playlist/detail/:id |
get playlist detail by id |
Downlod
Edit soon ...
Song
Info
Lyric
Artist
TopSong
Album
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.