项目作者: Leobouloc

项目描述 :
Count the number of coffees bought on buymeacoffee.com
高级语言: Python
项目地址: git://github.com/Leobouloc/Buy-Me-a-Coffee-Counter.git
创建时间: 2020-05-26T13:42:17Z
项目社区:https://github.com/Leobouloc/Buy-Me-a-Coffee-Counter

开源协议:

下载


Buy-Me-a-Coffee-Counter

Count the number of coffees bought on buymeacoffee.com

I made this to know how much competition was making off of donations to
determine if donationware could be a good model for my service. Use this nicely please :)

Requirements

Works with standard packages for python2 and python3.

How to use it

  1. # Generic
  2. python coffee_counter.py <user_id_or_url>
  3. # For example on my page
  4. python coffee_counter.py https://www.buymeacoffee.com/NrHVy1S
  5. >>> {'coffee_custom_price': 3,
  6. 'currency': 'EUR',
  7. 'currency_sign': '€',
  8. 'num_coffees': 23,
  9. 'num_donors': 10,
  10. 'total_money': 69,
  11. 'username': 'NrHVy1S'}