Documentation ¶
Index ¶
- Constants
- func Aibizhi(fileDir string, quality int) (string, error)
- func Baidu(fileDir string, quality int) (string, error)
- func Bing(fileDir string, quality int) (string, error)
- func NationalGeographic(fileDir string, quality int) (string, error)
- func Unsplash(fileDir string, quality int) (string, error)
Constants ¶
View Source
const (
AIBIZHI_API_URL = `` /* 151-byte string literal not displayed */
)
View Source
const (
BAIDU_API_URL = `http://image.baidu.com/channel/listjson?tag1=%E5%A3%81%E7%BA%B8&tag2=%E9%A3%8E%E6%99%AF&pn=0&rn=50`
)
View Source
const (
BING_API_URL = `http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=8`
)
View Source
const (
NationalGeographic_API_URL = `http://www.nationalgeographic.com/photography/photo-of-the-day/_jcr_content/.gallery.json`
)
View Source
const (
UNSPLASH_API_URL = `https://api.unsplash.com/photos/random?client_id=cb82c1ab9185e27543e298abb7c74f1a74b9f6daf461214f5669a237c5199a3c`
)
Variables ¶
This section is empty.
Functions ¶
func NationalGeographic ¶
NationalGeographic provide pictures
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.