Skip to main content

Unoffical Starbucks API.

Project description

Unofficial Starbucks API.

This API is written in Python.

Only supports for Starbucks Korea.


You can install Starbucks with pip

$ pip install starbucks


1. Login

You can login to Starbucks like:

from starbucks import Starbucks

starbucks = Starbucks()
starbucks.login('username', 'password')

2. Get My Cards

You can get your cards like:

cards = starbucks.get_cards()

3. 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')

or using CLI:

$ starbucks-card --id {username} --password {password} --reg-number {card reg number}

4. Get My Stars Count

You can get your stars count like:


or using CLI:

$ starbucks-star --id {username} --password {password}

5. Get Beverage Menus

You can get the list of beverage menus like:


6. Get My Coupons

You can get the list of your coupons like:


7. Logout

If you want to logout, just:


Known Issues

  • Should I have to check if I logged in successfully like this?

To Do

  • Card usage histories
  • More error checks
  • and so on.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Starbucks, version 0.5.3
Filename, size & hash File type Python version Upload date
Starbucks-0.5.3.tar.gz (4.1 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page