We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d76d04 commit 009ad5dCopy full SHA for 009ad5d
src/Devices.php
@@ -209,6 +209,25 @@ public function onFocus($id, array $data)
209
]);
210
}
211
212
+ /**
213
+ * Export all information about devices in a CSV format for your application.
214
+ *
215
+ * Application auth key must be set.
216
217
+ * @return array
218
+ */
219
+ public function csvExport()
220
+ {
221
+ return $this->api->request('POST', '/players/csv_export', [
222
+ 'headers' => [
223
+ 'Authorization' => 'Basic ' . $this->api->getConfig()->getApplicationAuthKey(),
224
+ ],
225
+ 'json' => [
226
+ 'app_id' => $this->api->getConfig()->getApplicationId(),
227
228
+ ]);
229
+ }
230
+
231
protected function resolve(array $data, callable $callback = null)
232
{
233
$resolver = new OptionsResolver();
0 commit comments