alice_google_images v0.1.4 Alice.Handlers.GoogleImages

This handler will allow Alice look up random images on Google Images.

Google no longer offers an unregistered image search API. You must set up a Google Custom Search API account.

(See the readme for more information.)

Link to this section Summary

Functions

All of the commands handled by this module

Deletes the entries in the state for a specific key

gif me ____ - attempts to get a random gif from Google Images

img me ____ - gets a random image from Google Images

Get the state from an Alice.Conn struct, namespaced to this module

Match all commands in this module

Match all routes in this module

Update the state of an Alice.Conn struct, namespaced to this module

All of the routes handled by this module

Link to this section Functions

All of the commands handled by this module

Link to this function delete_state(conn, key)

Deletes the entries in the state for a specific key.

Link to this function fetch(conn, type)
Link to this function fetch_animated(conn)

gif me ____ - attempts to get a random gif from Google Images

Link to this function fetch_image(conn)

img me ____ - gets a random image from Google Images

Link to this function get_images(params)
Link to this function get_state(conn, key, default \\ nil)

Get the state from an Alice.Conn struct, namespaced to this module

Link to this function match_commands(conn)

Match all commands in this module

Link to this function match_routes(conn)

Match all routes in this module

Link to this function put_state(conn, key, value)

Update the state of an Alice.Conn struct, namespaced to this module

Link to this function query_params(term, atom)

All of the routes handled by this module