BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etsy-python
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
etsy-python
Commits
8b2986df
Commit
8b2986df
authored
Jun 06, 2017
by
Tarun Bhardwaj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow adding of token and secret while initializing request_oauth
parent
185eddaa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
request_oauth.py
etsy/request_oauth.py
+2
-2
No files found.
etsy/request_oauth.py
View file @
8b2986df
...
...
@@ -4,9 +4,9 @@ from requests_oauthlib import OAuth1Session
class
EtsyOAuthClient
(
OAuth1Session
):
def
__init__
(
self
,
oauth_consumer_key
,
oauth_consumer_secret
,
etsy_env
=
EtsyEnvProduction
()):
oauth_consumer_secret
,
etsy_env
=
EtsyEnvProduction
()
,
**
kwargs
):
super
(
EtsyOAuthClient
,
self
)
.
__init__
(
oauth_consumer_key
,
oauth_consumer_secret
)
oauth_consumer_key
,
oauth_consumer_secret
,
**
kwargs
)
self
.
request_token_url
=
etsy_env
.
request_token_url
self
.
access_token_url
=
etsy_env
.
access_token_url
self
.
signin_url
=
etsy_env
.
signin_url
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment