Make endpoint configurable and key optional
Merge pull request #6 from whatasunnyday/config-endpoint

Make endpoint configurable and key optional