[ci skip] DRY code example in README.md.
Merge pull request #482 from JuanitoFatas/doc/patch-1

[ci skip] DRY code example in README.md.