Coder Social home page Coder Social logo

catdtran / prestashop-rest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from binshops/prestashop-rest

0.0 0.0 0.0 740 KB

PrestaShop REST API module to expose your PrestaShop website's REST endpoints

Home Page: https://www.binshops.com/prestashop-api

License: Academic Free License v3.0

JavaScript 0.05% PHP 84.55% CSS 0.05% HTML 14.28% Smarty 1.07%

prestashop-rest's Introduction

PrestaShop REST API Module

Easily expose REST API endpoints for your Prestashop website. No configuration needed, just install and use it.

New! Annotation-based API routing support added in version 5, July 2023.

For demo and testing, not recommended for production.

The products that use this REST API

PrestaShop PWAPrestaShop PWA PrestaShop Mobile Application PrestaShop Mobile App

This module helps you to build Headless applications based on PrestaShop platform. You can read this article to know about Headless PrestaShop and Headless Commerce, why we need it and why it matters.

Demo Link

https://rest.binshops.com/rest/bootstrap

Your API Endpoint

After installation access your API endpoints at: http://yourdomain.tld/rest.

Why we need this API module? Is not Webservice API enough?

You can get more info about this module: https://www.binshops.com/prestashop-api

Documentation

You can access full documentation for REST endpoints on Postman publisher: https://documenter.getpostman.com/view/1491681/TzkyP1UC

How to write your API?

Annotation-based API routing added in v5.

/**
* @Route("/rest/get-products", name=”products”)
*/
public function getProducts()
{
// ...
}

Required Modules

These native modules, which are already included in PrestaShop out of the box, are required to work with some endpoints.

  • ps_mainmenu (Native Ps Menu module)
  • ps_featuredproducts (Native Ps Featured Products module)
  • ps_facetedsearch (Native Ps Faceted Search module)
  • productcomments (Native Ps Product Comments module)
  • ps_banner (Native Ps Banner module)
  • ps_imageslider (Native Ps Image slider module)
  • ps_wirepayment (Native Ps Bankwire module)
  • ps_checkpayment (Native Ps Pay by Check module)
  • blockwishlist (Native Ps Wishlist module)

If you need custom APIs or you want to have APIs for a third-party module, you can send your request for custom API implementation on Binshops website - Request Form

prestashop-rest's People

Contributors

samberrry avatar giorgiopogliani avatar prestaedit avatar pululuk avatar alisamie97 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.