appsflyer-exporter
Exporter for appsflyer reports (installs & partners)
Introduction
Wrapper around the Appsflyer Pull API, returns streams.
Example
Exporter;var opts = from: '2015/02/02' to: '2015/02/03';// export_type: 'web' will return a web stream via requestvar webStream = Exporter; // export_type: 'local' (Default)var localStream = Exporter; // Once the stream is initiated and starts pushing throughlocalStream;
Testing
The tests require you to setup the following two ENV vars: APPSFLYER_APPID & APPSFLYER_APITOKEN. You can replace manually in exporter.test.js if you prefer.
Run with npm test
Warning
Appsflyer has throttled requests to the Pull API to 1 req. p/hour. However if you need to run tests etc. you can get in touch with them to lift the restrictions:
https://support.appsflyer.com/entries/58773966-API-Policy
License
appsflyer-exporter
is released under the MIT license. See LICENSE.txt
for the complete text.