Skip to content

atomicfruitcake/green-bacon-sandals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

green-bacon-sandals

Get a random image from google images based on 3 random words. This was built after joke in the pub when we needed placeholder images when building a site.

Usage

import green-bacon-sandals
# get this from https://www.google.com/cse/all
cxCode = ""

# obtain this from https://console.developers.google.com/ (after creating a Project and going to API credentials)
key = ""

print(green-bacon-sandals.get_image(cx_code, key)

About

Generate a random image based on 3 random workds

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages