The if should be the other way around
Merge pull request #14 from wouterlemcke/feature/api

The if should be the other way around