Unoffical Starbucks API.
Project description
Unofficial Starbucks API.
This API is written in Python.
Only supports for Starbucks Korea.
Features
1. Login
You can login to Starbucks like:
from starbucks import Starbucks
starbucks = Starbucks()
starbucks.login('username', 'password')
2. Get My Card Information
You can get your card information like:
# You should know the registration number of your card.
# It is in the source code of Starbucks web page.
card = starbucks.get_card_info('0000000')
3. Logout
If you want to logout, just:
starbucks.logout()
Known Issues
After the first login, I can’t get the card information. But after logout, and login again, then finally I can get the card information.
Should I have to check if I logged in successfully like this?
To Do
Cards list
Card usage histories
and so on.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Starbucks-0.0.1.tar.gz
(1.8 kB
view details)
File details
Details for the file Starbucks-0.0.1.tar.gz.
File metadata
- Download URL: Starbucks-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92431fc8f2134c3f305a957a8327a5bfa9d84b8c79d684a7cfe0b4fac112c151
|
|
| MD5 |
b083cfac3e898d226f22521e1e3ba7a9
|
|
| BLAKE2b-256 |
cb0c0557134ae620c5468082d1f867d328b510ad0f6bc5c6fc08e3607776de51
|