igdb v0.1.0 Igdb.Api
Provides a basic HTTP interface to allow easy communication with the IGDB
API, by wrapping HTTPoison
.
Link to this section Summary
Link to this section Functions
Link to this function
get(module, resource_id, options)
Link to this function
search(module, options)
search(module(), map()) :: {:ok, term()} | {:error, String.t()}
Search a resource using filters.
Examples
Igdb.Game.search(%{search: "Final Fantasy", limit: 1, fields: "id,name", filter: %{version_parent: %{not_exists: 1}}, order: "popularity:desc"})
{:ok, [%{id: 11214, name: "World of Final Fantasy"}]}