niconico

package
v0.0.0-...-a009f03 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	HTTPClient *http.Client
}

func New

func New() *Client

func (*Client) Get

func (c *Client) Get(url string) (*http.Response, error)

func (*Client) GetLive

func (c *Client) GetLive(community_id string) (*Live, error)

func (*Client) GetUser

func (c *Client) GetUser(userID string) (*User, error)

type Live

type Live struct {
	ID          string
	Title       string
	Description string
	Status      string
	UserID      string
	WatchURL    string
}

type User

type User struct {
	UserID  string
	Name    string
	IconURL string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL