All Questions
6 questions
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
2
answers
998
views
Fetch all questions of a particular tag from the Stack Exchange API in Python
I am trying to fetch all questions of the Swift tag from Stack Overflow. I created the query using https://api.stackexchange.com/docs/questions and wrote a simple wrapper in Python.
def fetch_question(...
1
vote
1
answer
125
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 ...
3
votes
1
answer
146
views
How do I add newlines when editing a post body via the API?
I am editing the tags of a question via the API, and to do that you have to pass the body and title etc.
I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
3
votes
1
answer
981
views
How can I extract user information on Stack Overflow using Python and the Stack Overflow API?
I am new to Python. I want to extract a user bio, answers, questions they made in Stack Overflow.
Can I do that using the API? For example, can I extract the user: name bio and number of questions ...
1
vote
1
answer
181
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....