Skip to content

scrapinghub/python-brightpearl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Brightpearl

Authentication

>>> from brightpearl import API
>>> api = API('account_id')
>>> api.authenticate('user', 'passwd')
>>> from brightpearl import API
>>> api = API('account_id', token='xxxxtoken')

Usage

>>> api.product.product.post(**data)
... [<brightpearl.Resource object at 0x1db1490>]
>>> product = api.product.product(1).get()[0]
>>> product.sku
... 'BOO34KALZ'
>>> search = api.product.product_search.get(SKU=product.sku)[0]
>>> search.results
... [['BOO34KALZ', 'T-Shirt Blue', ...]]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages