streaming api works