https://github.com/m42e/buymeapie-client
Python client for BuyMeAPie
https://github.com/m42e/buymeapie-client
Last synced: 10 months ago
JSON representation
Python client for BuyMeAPie
- Host: GitHub
- URL: https://github.com/m42e/buymeapie-client
- Owner: m42e
- License: mit
- Created: 2022-03-13T10:21:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-16T17:38:33.000Z (over 4 years ago)
- Last Synced: 2025-09-09T07:29:43.332Z (10 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Buy Me A Pie Client
A Simple minimal client that makes use of the Web API.
It currently supports:
- get lists
- get list items
- create list
- delete list
- add items
- mark items as purchased
- delete items
- change amount of items
- add unique items
- change unique items group
So basic functionality is there.
## Example
````python
import buymeapie
bap = buymeapie.BuyMeAPie(username=user, password=pass_)
print(bap.lists)
print(bap.lists[0].not_purchased)
bap.lists[0].add_item('Onions', 10)
print(bap.lists[0].not_purchased)
```