Directus
#### :rotating_light: MIGRATED FROM REQUESTS.GETDIRECTUS.COM :rotating_light:

# Export/Code From data listings

### :+1: = 1


-----
### @benhaynes – (1 year ago)

A button on each dataset in Directus that you could click and it opened up a modal to generate the API/SDK code:

You click the button, choose "PHP"in the modal, and then it shows you the code in a textarea that you can copy. The button would only appear for admins, and could also be used to EXPORT data as JSON or CSV