Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now


Project description

GlobeLabs API Python Client


$ pip install globelabs


Sample usage with flask.

from globelabs import Globe

app_id = "BGyKAhGbyoGhRdiA8kTyMXhR9yGEhzoa"
app_secret = "8ed742b6c27e38db323ab24e19460a38eb0bf52804fc08f4df897db206b7b690"
shortcode = "1027"
globe = Globe(app_id=self.app_id,

def login():
return redirect(globe.get_auth_url())

def redirect_callback():
r = globe.get_access_token(request.args.get('code'))
ac = r['access_token']
subscriber_number = r['subscriber_number']
return redirect(url_for('.home'))

def charge():
globe.charge(0, "2158%s0000099" % self.shortcode)



* Need help with documentation! :D

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
globelabs-0.0.3.tar.gz (2.1 kB) Copy SHA256 hash SHA256 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