Skip to main content

No project description provided

Project description

pyuntappd - A python module to get information from Untappd

Notes

This has been tested with python 3.6
This module require Client ID and Client Secret from Untappd.
This module uses these external libararies:

  • requests

Install

pip install pyuntappd

Example usage

from pyuntappd import Untappd

id = 'VHLZFXXXP5SBL4OWSAPM0G8KCCXX0A9MA9E3XWNG'
secret = '0G8KCCXX0A9MA9E3XWNGVHLZFXXXP5SBL4OWSAPM'
username = 'username'

ut = Untappd()
result = ut.get_last_activity(api_id, secret, username)

#Print results:
print('Username: ' + result['user']['user_name'])
print('Beer: ' + result['beer']['beer_name'])
print('Time: ' + result['created_at'])
print('Score: ' + str(result['rating_score']))

Functions

  • get_last_activity
  • get_info
  • get_wishlist
  • get_badges

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyuntappd-0.0.5-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file pyuntappd-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: pyuntappd-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for pyuntappd-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 04d8a63740a227bd01a710d41b430ce3250a713ae3a2aae7c3779b8a8cf0a684
MD5 36302c7d7bba7279f2349b732bb55576
BLAKE2b-256 f396673e28611883c4bc6b8f95590e18dc6b502c272a4ea41a71dec85b340984

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page