OK... I've just meddled with the API and editing.
So, to do what you want, here's what I would do (in steps:)
- Get the questions via
/questions with the
installation. Use Python to loop through
items (the results) and show them to you one-by-one. Make sure you make new variables saving the title, body and tags (so you can edit the question)
- Use Python to let you say
2, each calling a function
if statement you use for checking whether
2 has been inputted will call
addTag with a parameter
newTag being either
- title: same title
- body: same title
- tags: same tags minus the
installation and with the appropriate new tag (in the parameters)
- summary: summary either pre-defined or
input()ted on run.
def editQuestion(questionId, access_token, site_name, key, postText, postSummary, postTags, postTitle):
results = requests.post("https://api.stackexchange.com/2.2/questions/[question_ID]/edit",
'access_token': '[access token]',
You use Client Side OAuth Flow mainly when you do not have a website yourself to let someone get an access token. So use this. See here for more details on authentication. You would need to send a new user to:
^^edit the parameters as required!