Quick start
Contact a manager to discuss the terms of access to the Data Stream API.
If you haven't used AppMetrica API products yet, get an access token (for more information, see Authorization).
Configure data streams using the Changing settings request. If you have multiple apps, you need to configure streams for each app.
Note.If you want to change the settings, use the same request. The new settings will be applied only to the new data and already generated files won't be changed.
Wait a few minutes and check the setting using the Stream status request. Pay attention to the update_timestamp field: data for the last 10 minutes usually continues to be updated.
Download data using the Downloading data request. Each data type, such as events, installations, and session starts, is a separate stream.
Automate export by regularly calling the Downloading data request with the desired stream_window_timestamp. We recommend checking the stream status first to exclude requests with data that wasn't generated.