Questions tagged [python]
Accompanies [app]s written in, or [library]s meant to be used from, the Python programming language
56 questions
1
vote
1
answer
195
views
Non-verbatim search strings in py-stackexchange
I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title.
Here's the code:
#!c:/Python27/python.exe -u
import sys
sys....
1
vote
1
answer
5k
views
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
I am trying the following simple code to get JSON from the Stack Exchange API and it gives me the following error:
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
Here is my script:
...
1
vote
1
answer
145
views
Stack API doesn't return json with encoding of UTF-8
Here is the query
RESULT
{
"items": [
{
"badge_counts": {
"bronze": 2,
"silver": 1,
"gold": 0
},
...
1
vote
1
answer
154
views
I want a python program example for more requests a day
How can I make about 10k requests on
https://api.stackexchange.com/2.2/users/+J+/questions?order=desc&sort=activity&site=stackoverflow
using python program in a day. Where J is variable and ...
1
vote
0
answers
241
views
Attribute error while using the stackoverflow api wrapper for python on IDLE
This is the code that I use to access Stack Overflow:
from stackexchange import Site, StackOverflow
so = stackexchange.StackOverflow()
for q in so.questions(pagesize=50):
print q.title
It runs ...
-4
votes
1
answer
175
views
How to pass the api client credentials for stackexchange api in python [duplicate]
I am trying to make a console based client, that consumes the stackexchange api. I have done the registration of my app, in order to enjoy higher quotas and received the necessary keys.
My problem is,...