Packages
bgg_loggee
0.1.0
A tool to interact with your board game collection and plays in Board Game Geek
Current section
Files
Jump to
Current section
Files
lib/loggee.ex
defmodule Loggee do
alias Loggee.Bgg.Client.{Collection, Game, Plays, Search}
alias Loggee.Commands
defdelegate collection(user, collection), to: Collection, as: :call
defdelegate wishlist(user, collection), to: Collection, as: :call
defdelegate game(id), to: Game, as: :call
defdelegate plays(user, start_date \\ nil, end_date \\ nil, id \\ nil), to: Plays, as: :call
defdelegate play_count(user, start_date \\ nil, end_date \\ nil, id \\ nil), to: Plays, as: :play_count
defdelegate search(query), to: Search, as: :call
defdelegate post_play(), to: Commands.PostPlay, as: :call
defdelegate random_game(), to: Commands.RandomGame, as: :call
end