picsource

package
v0.0.0-...-bf03c08 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

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 Aibizhi

func Aibizhi(fileDir string, quality int) (string, error)

Aibizhi provide pictures

func Baidu

func Baidu(fileDir string, quality int) (string, error)

Baidu provide pictures

func Bing

func Bing(fileDir string, quality int) (string, error)

Bing provide pictures

func NationalGeographic

func NationalGeographic(fileDir string, quality int) (string, error)

NationalGeographic provide pictures

func Unsplash

func Unsplash(fileDir string, quality int) (string, error)

Unsplash provide pictures

Types

This section is empty.

Jump to

Keyboard shortcuts

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