exNoops v0.1.1 Exnoops.Polybot View Source

Module to interact with Github's Noop: Polybot

See the official noop documentation for API information including the accepted parameters.

Link to this section Summary

Functions

Query Polybot for polygon(s)

Link to this section Functions

Link to this function

get_polygon(opts \\ []) View Source
get_polygon(keyword()) :: {atom(), [list()]}

Query Polybot for polygon(s)

  • Parameters are sent with a keyword list into the function.

Examples

iex> Exnoops.Polybot.get_polygon()
# List of {x, y} points
{:ok, [[{157, 998}, {145, 1000}, {122, 1000}, {106, 989}, {151, 972}]]}