Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianjp93/sellbrite
Hackish python connection to basic functions in sellbrite using selenium and chromedriver
https://github.com/brianjp93/sellbrite
Last synced: 6 days ago
JSON representation
Hackish python connection to basic functions in sellbrite using selenium and chromedriver
- Host: GitHub
- URL: https://github.com/brianjp93/sellbrite
- Owner: brianjp93
- Created: 2015-09-09T08:19:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-12T23:28:35.000Z (about 9 years ago)
- Last Synced: 2023-02-26T22:02:57.018Z (almost 2 years ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# sellbrite
- A completely hackish way of editing sellbrite skus using selenium
- Can accomplish basic tasks like
- retrieve stock, upc, bin location, title given a sku
- update stock
- update bin location
- The lack of an api makes batch updates difficult but not impossible, perhaps I will add more to this code. We'll try not to spam sellbrite's servers too much though.### Dependencies
- python 2.7 (Untested in other versions.)
- selenium
- chromedriver https://sites.google.com/a/chromium.org/chromedriver/downloads
- beautifulsoup4### Setup
- rename ```your.data``` to ```sb.data```
- fill in the ??? with the appropriate data.### Usage
#### Get Basic Data
- Assuming we have a sku 1234
```python
from sellbrite import Sellbrite
sb = Sellbrite()
info = sb.getDetailedInfo("1234")
```
- Here, info is a dictionary that looks like:
```python
{"title": title, "bin": bin_loc, "quantity": quantity, "upc": upc}
```#### Update Quantity
```python
sb.updateQuantity("1234", "10") # update sku 1234 with quantity 10
```#### Update Bin Location
```python
sb.updateBinLocation("1234", "A100") # update sku 1234 with location A100
```### License
https://opensource.org/licenses/MIT