https://github.com/birdhouses/shopifyblogautomation
Upload Shopify Blog Posts in Bulk with Python.
https://github.com/birdhouses/shopifyblogautomation
automation blogs-app bulk-operation content-management python seo seotools shopify shopify-api shopify-app
Last synced: 7 months ago
JSON representation
Upload Shopify Blog Posts in Bulk with Python.
- Host: GitHub
- URL: https://github.com/birdhouses/shopifyblogautomation
- Owner: birdhouses
- License: agpl-3.0
- Created: 2024-03-06T20:16:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-02T22:18:24.000Z (about 1 year ago)
- Last Synced: 2025-01-26T08:15:19.118Z (9 months ago)
- Topics: automation, blogs-app, bulk-operation, content-management, python, seo, seotools, shopify, shopify-api, shopify-app
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ShopifyBlogAutomation
Create Shopify Blog posts in Bulk with Python! For generating blog posts, please have a look at: https://github.com/birdhouses/ArticleAI## Setup
- Run pip install requirements.txt
- Copy `env.example` and rename to `.env`
- Fill in your details
- To find your Shopify store name for API interaction, go to Admin > Apps > Manage private apps. Your store name is in the Example URL. More details in Private apps.
- You need to enable custom app development for your Shopify Store
- https://help.shopify.com/en/manual/apps/app-types/custom-apps## Usage
- Run `python3 run.py --blog_id your_blog_id --blog_dir your_blog_dir --image_dir image_dir`
- To find your blog ID, navigate to Online Store > Blog Posts. Click on the blog name. The number at the end of the URL in your browser's address bar is the blog ID.
- The blog dir should be a folder with .txt files for the blog posts.The title of the blog post is determined by the first line of the .txt file, prefixed with a singular #
- The image_dir is not required. The script will pick a random image from this directory when creating the blog post.# Important
You can specify an `images_dir` when running the script. Every time a blog post is created, it will pick a random image from the directory.