Skip to content

matehackers/we_broke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

we_broke

project to fetch our current balance from our google drive document

requirements

  • requests * new *
  • pydrive
  • bottle
  • python 2.7
  • dateutils

usage

firstly, you need to get your credentials authorized to run fetch the balance

>>> import balance
balance.fetch()
# Click on the provided URL, authorize your credentials,
# copy the code and paste it on the command line

response

{
  unlockBalance: real, * new *
  totalBalance: real, * new *
  lastUpdate: UTC standard formatted,
  lastUpdateHuman: BRT %d-%m-%y %H:%M %Z formatted,
  balance: real,
  daysRemaining: int
}

then you may simply run the server

$ python server.py

About

script to fetch our current balance =(

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages