Giter Site home page Giter Site logo

php-shopify-api-wrapper's Introduction

Shopify API Wrapper

By Zapiet.com - Zapiet - Creators of the Store Pickup + Delivery app.

Installing via Composer

The recommended way to install the wrapper is through Composer.

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest stable version of the wrapper:

composer require shopifyextras/shopify-php-api-wrapper

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

Getting Started

First you will need to initialise the client like this:

$client = Shopify::settings(array(
   "shopUrl" => $shopUrl,
   "X-Shopify-Access-Token" => $accessToken
));

Then you can begin making requests:

// Get a list of all products.
$client->getProducts();

// Get a list of all orders.
$client->getOrders();

// Get a specific product.
$client->getProduct(array("id" => $product_id));

Bugs & Issues

If you spot any bugs, please report it using the issue tracker. If you would like to contribute to the project please feel free to make your amends and submit a pull request.

Professional Services

Unfortunately we are unable to provide free technical support for the wrapper. If you require this kind of help then please contact us by emailing [email protected].

php-shopify-api-wrapper's People

Contributors

cargix1 avatar cargi avatar michaeljhopkins avatar riotcode avatar sebmaynard avatar nothsa avatar rjbecker avatar

Watchers

James Cloos avatar Travis Neiderhiser 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.