The AppPulse Mobile Open API enables advanced users (and premium customers) to extract mobile app usage info and user experience data for their mobile apps from AppPulse Mobile programmatically. One could use this extracted data to generate customized reports, implement integrations with external systems and run customized analytics.
This project is a sample client-side implementation that uses AppPulse Mobile Open API to extract information.
The sample contains 4 steps:
- Authenticate using your AppPulse Mobile OpenAPI credentials and receive a token that will be used at subsequent steps
- Retrieve your applications list
- Retrieve fundex scores for all your applications
- Retrieve the Matrix of device-OS performance for the second application in the applications list
- Details around all operations possible with the OpenAPI can be found in the AppPulse OpenAPI Browser
- Detailed documentation is available in the AppPulse Mobile Open API Guide
- Clone the repo (git clone git@github.com:MicroFocus/apmobile-openapiclient.git)
- Run Maven - Install (mvn install). This generates the packaged jar named "apmobile-client-standalone.jar"
- Run the program by providing your "tenant id", "client id" and "client secret" (taken from AppPulse Settings section).
java -jar apmobile-client-standalone.jar --tenantId <tenant id> --clientId <client id> --secret <client secret> --fromDate <from date in yyyy-mm-dd format>
Mandatory parameters:
- tenantId - required for authentication. Taken from AppPulse Mobile settings.
- clientId - required for authentication. Taken from AppPulse Mobile settings.
- secret - required for authentication. Taken from AppPulse Mobile settings.
- fromDate - the start of the period from which you would like to pull data. To be provided in yyyy-mm-dd format
Optional parameter:
- proxy - proxy hostname and port (proxyhost:port)
For example:
java -jar apmobile-client-standalone.jar --tenantId 17728942 --clientId 17728942#c1 --secret 17728942#C1 9292f441-04b5-46f3-87f6-e4eda6d5451f --fromDate 2018-06-12
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Shreyas Dhareshwar
Meir Ron
Michael Seldin
Distrebuted under Apache License 2.0 see LICENSE file for more details.