Fixed example in README

API changed, but the docs weren't updated. This caused a bit of confusion on my end when things exploded trying to integrate it.