src/Devices.php
public function csvExport(array $extraFields = [])
    {
        $url = '/players/csv_export?app_id='.$this->api->getConfig()->getApplicationId();

        $headers = [
            'Authorization' => 'Basic '.$this->api->getConfig()->getApplicationAuthKey(),
        ];

        $body = [
            'extra_fields' => $extraFields,
        ];

        return $this->api->request('POST', $url, $headers, json_encode($body));
    }
public function csvExport(array $extraFields = [])
    {
        $url = '/players/csv_export?app_id='.$this->api->getConfig()->getApplicationId();

        $headers = [
            'Authorization' => 'Basic '.$this->api->getConfig()->getApplicationAuthKey(),
        ];

        $body = [
            'extra_fields' => $extraFields,
        ];

        return $this->api->request('POST', $url, $headers, json_encode($body));
    }
public function csvExport ( array $ extraFields = [ ] ) { $ url = '/players/csv_export?app_id=' . $ this -> api -> getConfig ( ) -> getApplicationId ( ) ; $ headers = [ 'Authorization' => 'Basic ' . $ this -> api -> getConfig ( ) -> getApplicationAuthKey ( ) , ] ; $ body = [ 'extra_fields' => $ extraFields , ] ; return $ this -> api -> request ( 'POST' , $ url , $ headers , json_encode ( $ body ) ) ; }
Export all information about devices in a CSV format for your application.

Application auth key must be set.

@param array $extraFields Additional fields that you wish to include.
Currently supports: "location", "country", "rooted"

@return array
Export all information about devices in a CSV format for your application .