Skip to content

Instantly share code, notes, and snippets.

View gist:10017647
### Keybase proof
I hereby claim:
* I am mworrell on github.
* I am mworrell (https://keybase.io/mworrell) on keybase.
* I have a public key whose fingerprint is 84AD 59ED C785 392C B456 1465 E093 EF8D 579F 717C
To claim this, I am signing this object:
@mworrell
mworrell / m_omdb.erl
Last active May 14, 2020
Zotonic 1.0 - Template model for the OMDB movie database - source code to accompany the documentation
View m_omdb.erl
-module(m_omdb).
-behaviour(gen_model).
-export([
m_get/2
]).
-include_lib("zotonic_core/include/zotonic.hrl").
-define(API_URL, "http://www.omdbapi.com/?").