Transfer code from API repo to own repo
This commit is contained in:
8
pixelapi/list.go
Normal file
8
pixelapi/list.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package pixelapi
|
||||
|
||||
import "fornaxian.tech/pixeldrain_server/api/restapi/apitype"
|
||||
|
||||
// GetListID get a List from the pixeldrain API
|
||||
func (p *PixelAPI) GetListID(id string) (resp apitype.ListInfo, err error) {
|
||||
return resp, p.jsonRequest("GET", "list/"+id, &resp)
|
||||
}
|
||||
Reference in New Issue
Block a user