Skip to content

joshongithub/DoorDashAPI-PHP-Sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

DoorDash API PHP Sample

This sample is an example of how to create a JWT using PHP when calling the DoorDash API. Additionally, it creates a delivery request using the JWT.

It builds a token that is valid for 30 minutes. Please obtain a set of DoorDash Credentials (Developer ID, Key ID, and Signing Secret) in the DoorDash Developer Portal to use in the application.

This application targets PHP. The content is provided in this repository are samples and not intended for production and are not supported.

Running Sample

Follow these steps to run the sample app:

  1. Clone repository locally.
  2. Open a terminal and navigate to the source folder.
  3. Run php -S localhost:8000 in the CLI.
  4. Open a browser and open the http://localhost:8000/doordash.php location.

More About DoorDash Credentials

Related Utilities and Samples

Community

Please join the DoorDash Developer Discord community to provide feedback and ask questions about developing with the DoorDash API.

About

DoorDash API PHP Sample

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%