Implement smogon-api