I've been thinking more about this. A better design is to create a LiveAPIQuery class that uses a builder pattern, and shift the logic into that class. Right now the logic you have is simple, but it *will* become more complex in the future. It's also almost always better to consolidate redundant code.