You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -9,18 +9,18 @@ PHP SDK helps to connect with shopify [Custom App](https://shopify.dev/concepts/
9
9
## Requirements
10
10
1. For Api call need [Guzzle](https://github.com/guzzle/guzzle). The recommended way to install Guzzle is through [Composer](https://getcomposer.org/).
11
11
```
12
-
composer require guzzlehttp/guzzle
12
+
$ composer require guzzlehttp/guzzle
13
13
```
14
14
2. To prepare graphql query with [GraphQL query builder](https://github.com/rudiedirkx/graphql-query).
15
15
16
-
Clone with Clone with SSH
16
+
Clone with SSH
17
17
```
18
-
git@github.com:rudiedirkx/graphql-query.git
18
+
$ git@github.com:rudiedirkx/graphql-query.git
19
19
```
20
20
## Getting started
21
21
### Initialize the client
22
22
#### 1. For Private App
23
-
* To create instance of Client, you need `shop`, `api_key`, `password` of private app, `api_params` is an array to pass api version with `YYYY-DD/unstable` format otherwise latest version will be assigned.
23
+
* To create instance of `Client` class, you need `shop`, `api_key`, `password` of private app, `api_params` is an array to pass api version with `YYYY-DD/unstable` format otherwise, Api latest version will be assigned.
24
24
25
25
```
26
26
<?php
@@ -31,7 +31,7 @@ PHP SDK helps to connect with shopify [Custom App](https://shopify.dev/concepts/
31
31
$client = new Shopify\PrivateApp($shop, $api_key, $password, $api_params);
32
32
```
33
33
#### 2. For Public/Custom App (under development)
34
-
* To create instance of Client, you need `shop`, `api_key`, `api_secret_key` of private app, `api_params` is an array to pass api version with `YYYY-DD/unstable` format otherwise latest version will be assigned.
34
+
* To create instance of `Client` class, you need `shop`, `api_key`, `api_secret_key` of private app, `api_params` is an array to pass api version with `YYYY-DD/unstable` format otherwise, Api latest version will be assigned.
35
35
36
36
```
37
37
<?php
@@ -45,32 +45,32 @@ PHP SDK helps to connect with shopify [Custom App](https://shopify.dev/concepts/
45
45
### Call REST Api
46
46
* Get Products with limit 250 with `call()` function
0 commit comments