Extract method to DRY up API creation knowledge
Merge pull request #16 from xoebus/extract-api

Extract method to DRY up API creation knowledge