diff --git a/README.md b/README.md index e817427..f84c854 100644 --- a/README.md +++ b/README.md @@ -22,16 +22,16 @@ Forked by Sean Scheetz The simplest way to install the module is pip -
+``` $ pip install etsy2 -+``` To install from source, extract the tarball and use the following commands. -
+``` $ python setup.py build $ sudo python setup.py install -+``` ## Overview @@ -56,6 +56,7 @@ etsy.findAllFeaturedListings() For endpoints that do require OAuth you must pass an `EtsyOAuthClient` to the `Etsy` constructor. ```python +from etsy2 import EtsyOAuthClient, Etsy etsy_oauth = EtsyOAuthClient(client_key=api_key, client_secret=shared_secret, resource_owner_key=oauth_token, diff --git a/etsy2/__init__.py b/etsy2/__init__.py index 4f40168..360e0de 100644 --- a/etsy2/__init__.py +++ b/etsy2/__init__.py @@ -1,8 +1,8 @@ from ._v2 import EtsyV2 as Etsy from .etsy_env import EtsyEnvProduction +from .oauth import EtsyOAuthClient, EtsyOAuthHelper - -__version__ = '0.7.0' +__version__ = '0.7.1' __author__ = 'Sean Scheetz' __copyright__ = 'Copyright 2010, Etsy Inc.' __license__ = 'GPL v3'