add api for push data
Merge pull request #51 from michaelfung/master

add api for push data