Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 10599

Accompanies [app]s written in, or [library]s meant to be used from, the Python programming language

3 votes

"client_id not provided" when trying to obtain an access_token

Well, my bad - I forgot to set the Content-Type header. Fixed code snippet: def oauth_explicit_two(client_id, client_secret, code, redirect_uri): params = {'client_id': client_id, 'client_secret' …
Kristian Glass's user avatar
1 vote
1 answer
285 views

"client_id not provided" when trying to obtain an access_token

() return response.read() This is being called like so: $ cat example.py from stackpy import * print oauth_explicit_two(274, 'elided', 'elided', 'http://stackcompare.com/') And from this: $ python
Kristian Glass's user avatar
3 votes
2 answers
1k views

Python library for the StackExchange v2 API? [duplicate]

Does anyone know of a Python library for the 2.0 API? …
Kristian Glass's user avatar