Skip to content

Python program for querying BrickLink and BrickOwl APIs for in-progress order shipping info and writing data to a CSV file formatted for PirateShip

Notifications You must be signed in to change notification settings

MatthewJanuszewski/LegoHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LegoHelper

Simple program for writing shipping information from BrickLink and BrickOwl orders to a CSV file for PirateShip.

Installation

Make sure you have Python 3, Git, and PIP installed on your machine, and install all required Python packages by running the following PIP command in the directory where you downloaded this program:

pip install -r requirements.txt

API Tokens

To include BrickLink API tokens create a file named constants.py at the top level of this repo (under \LegoHelper) and include the following constants in the file:

consumer_key = "YOUR_CONSUMER_KEY"

consumer_secret = "YOUR_CONSUMER_SECRET"

token_value = "YOUR_TOKEN_VALUE"

token_secret = "YOUR_TOKEN_SECRET"

Find your token values by following the directions at https://www.bricklink.com/v3/api.page

For your BrickOwl Key go to https://www.brickowl.com/api_docs to find your key and add the following constant to constants.py

brick_owl_key = "YOUR_BRICK_OWL_KEY"

These values need to set up for each individual BrickLink/BrickOwl account and allow full access to your account, so do not share them or check them into any public repository.

Credits

This tool was written by Matthew Januszewski using the excellent BrickBytes Python library by Michael Bugert and Szieberth Ádám https://github.com/BrickBytes/bricklink_api

About

Python program for querying BrickLink and BrickOwl APIs for in-progress order shipping info and writing data to a CSV file formatted for PirateShip

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages