Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

peplin/hoppy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hoppy

hoppy is a Python library for accessing the Hoptoad API.

Requirements

hoppy requires:

Development Requirements

The hoppy test suite requires:

Installation

hoppy is available on PyPi, and the recommended method of installation is pip:

pip install hoppy

Usage

Use hoppy to notify Hoptoad of an app deploy:

import hoppy.deploy
hoppy.api_key = '<project API key>'
hoppy.deploy.Deploy().deploy(env='PRODUCTION', scm_revision='1a6a445',
        scm_repository='git@github.com:peplin/hoppy.git')

Use hoppy to retreive a specific error:

import hoppy.error
hoppy.account = '<your account name>'
hoppy.auth_token = '<your personal API auth token>'
print hoppy.error.Error().find(2035230).environment

About

Hoptoad API in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages