vikingcodes / selling-partner-api-php-sandbox

Working PHP implementation of SP API. Just fill out .env file!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SP API PHP Sandbox

I guess you just like me, prefer to see working implementation instead of reading some documentation. So here you are! Working PHP implementation of SP API. This sandbox will show you all initial steps you need to do to lunch SP API in your project. In my project we use Symfony to manage dependencies and properties and store AccessToken in DB. Feel free to contribute to this repo!

Requirements

How to run?

  • Run composer install
  • Fill out .env file
  • Follow Self Authorization and receive refresh_token
  • Add refresh_token to .env file
  • Run index.php and you should see a var_dump of orders data from API

About

Working PHP implementation of SP API. Just fill out .env file!

License:MIT License


Languages

Language:PHP 95.3%Language:Shell 4.7%