Example Export

In this article


Overview

This article contains an example API script written in php that generates .csv export files for a given set of projects.

api_test_script.php


Credentials

The first section of the file includes the variables that are used for authenticating API requests. Make sure to swap in a valid API key/identifier pair, and at least one valid project id.

If unsure, an easy way to confirm a project's id is to check the url when viewing said project.

top


Running the Script

In order to execute the code in the example file, it is necessary to download an application capable of running a .php file as a script. For users who are unfamiliar with coding applications, it is recommended to download Pulsar:

https://pulsar-edit.dev/

After installing Pulsar, users will also need to install the script package:

https://web.pulsar-edit.dev/packages/script

Installing the script package will allow users to execute the example file by opening it in Pulsar and using the appropriate command shortcut.

top

Still need help? Contact Us Contact Us