A simple library that helps call Shopify's API
Project description
Shopify Custom API Library
A custom Shopify API library that make shopify api call more easy.
Table of Contents
Features
- Easy authentication with Shopify.
- Simplified methods for common API operations.
- Support for additional Shopify API endpoints not covered by the official library.
Installation
To install the package, you can use pip:
pip install -U shopify_custom_api
Getting started
-
Generate access token for your store by following instruction (https://help.plytix.com/en/getting-api-credentials-from-your-shopify-store)
-
checkout shopify api document (https://shopify.dev/docs/api/admin-rest)
setup
from cshopify import API
shop = API(store_name='STORE_NAME', access_token='shpat_xxxxxxxxxxxxxxxxxxxxxxx', api_version='2024-01')
option
| parameter | description |
|---|---|
| data | JSON format data |
| endpoint | Resource type that need to be processed |
| params | Additional parameters for query |
get
.get(endpoint, params)
post
.post(endpoint, data)
put
.put(endpoint, data)
delete
.delete(endpoint)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shopify_custom_api-0.1.2.tar.gz.
File metadata
- Download URL: shopify_custom_api-0.1.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec2751f7eebaa8e52a106240a6f5f011bb840ba543272596297fdc5b2809f901
|
|
| MD5 |
510eb68fd85c78e8d5793c544f91c55e
|
|
| BLAKE2b-256 |
d1589bd493ac9ec0d73d4aecb996245336b18fbecb1782d70dbe29b6dc6ef75b
|
File details
Details for the file shopify_custom_api-0.1.2-py3-none-any.whl.
File metadata
- Download URL: shopify_custom_api-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f71739b1e12b1a20a5161b0f5f59f1284cd60a68564a7d034d2e60e9e65d8b33
|
|
| MD5 |
aef6e452923b8872f05f406787e782d9
|
|
| BLAKE2b-256 |
9189ab40f1fae4a36647f0ddd8c570a78e87690573ece5db12df3b0e359b6dc0
|