Client for the pixeldrain API. Used by pixeldrain itself for tranferring data between the web UI and API server. And for rendering JSON responses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
262 B

  1. package pixelapi
  2. import "fornaxian.tech/pixeldrain_server/api/restapi/apitype"
  3. // GetListID get a List from the pixeldrain API
  4. func (p *PixelAPI) GetListID(id string) (resp apitype.ListInfo, err error) {
  5. return resp, p.jsonRequest("GET", "list/"+id, &resp)
  6. }