From 25d3a80b07f4c5f9c16867aedc13c826d67a3b00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Sat, 8 Oct 2016 16:15:42 +0200 Subject: [PATCH] Prettified README file --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c9666bd..75d64e7 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ pip install python-yubikey ## Register for an API key -``` +``` python from yubikey import Yubikey yubi = Yubikey() @@ -23,8 +23,8 @@ yubi.register('', '') ## Check valid OTP -``` -yubi = Yubikey(, ) +``` python +yubi = Yubikey('', '') result = yubi.verify('') # True / False # If is provided, requests will be signed and the responses checked. @@ -32,7 +32,7 @@ result = yubi.verify('') ## Optionals -``` +``` python # Using custom API server # Must be one of YubicoWS._servers yubi = Yubikey(123, 'dGhpc3JlcG9yb2Nrcw==', server='api2.yubico.com')