Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backmarket Merchant API


A PHP script bundle built for the merchant of Back Market which includes basic API functions and basic functions for dealing with listings and orders.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Your own PHP environment should be settled down, you can check the PHP version by running:
php --version

Configuration

Database

  • The database of this repo is MySQL. So you should configure your own database before running the script.

Running the project

  • Run the command to start the script for dealing with listings and orders:
/usr/bin/wget http://localhost/.../BackMarket_Merchant_API/testscripts/bm_listings.php
/usr/bin/wget http://localhost/.../BackMarket_Merchant_API/testscripts/bm_orders.php
  • (Optional) You can choose to run the script in the directory ./testscripts/logclean:

    • Run the folderclean.php script for cleaning logs periodically:
    /usr/bin/wget http://localhost/.../BackMarket_Merchant_API/testscripts/logclean/bm_orders.php

Built With

  • PHP - The web script language.
  • MySQL - The database for the scripts in this repo.

About

A PHP script bundle built for the merchant of Back Market which includes basic API functions and basic functions for dealing with listings and orders.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages