2017 © Pedro Peláez
 

library flurry-reporting

Flurry Analytics Reporting API Client

image

relatedbits/flurry-reporting

Flurry Analytics Reporting API Client

  • Monday, March 13, 2017
  • by marcellferenc
  • Repository
  • 1 Watchers
  • 0 Stars
  • 131 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Flurry Analytics Reporting API PHP Client

Flurry Analytics Reporting API PHP Client to query the new Flurry Analytics API. Flurry introduced its new Reporting API before shut down the old one on the 6th of March 2017. For a detailed description review the Flurry documentation here., (*1)

Getting Started

Get & use the flurry-reporting php package., (*2)

Install

Install flurry-reporting using composer:, (*3)

composer require relatedbits/flurry-reporting

Usage

$token = 'YOUR_API_ACCESS_TOKEN';

$flurry = new Flurry($token);
  • Query Metrics API data, (*4)

    $params = [
        'dimensions' => 'country',
        'table' => 'App Usage Data',
        'timeGrain' => 'day',
        'metrics' => 'sessions,activeDevices,newDevices',
        'dateTime' => '2017-03-13/2017-03-14',
        'filters' => 'country|name-in["United States"]',
        'format' => 'csv'
    ];
    
    $data = $flurry->get('Metrics', $params);
    
  • Query Dimensions API data, (*5)

    $params = [
        'dimension' => 'country'
    ];
    
    $data = $flurry->get('Dimensions', $params);
    

Exceptions

If required parameters for the API are not provided it will throw LogicException. In case of invalid parameter values are provided InvalidArgumentException will be thrown if there is no default value defined in the library. Invalid parameter names are simply omitted., (*6)

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details., (*7)

Acknowledgments

The Versions

13/03 2017

dev-master

9999999-dev https://github.com/marcell-ferenc/flurry-reporting

Flurry Analytics Reporting API Client

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

  • php >=5.6

api analytics client flurry

13/03 2017

v1.0.0

1.0.0.0 https://github.com/marcell-ferenc/flurry-reporting

Flurry Analytics Reporting API Client

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

  • php >=5.6

api analytics client flurry

13/03 2017

1.0.1

1.0.1.0 https://github.com/marcell-ferenc/flurry-reporting

Flurry Analytics Reporting API Client

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

  • php >=5.6

api analytics client flurry