How do I create a bot to ask a question using stackoverflow API in python?

I am trying to automate the task of asking question on stack overflow for api learning purposes. According to docs on: stack overflow api docs on create question I need key and access_token. But when I create app on stackapps; I only have Client Id, Client Secret and Key. How do I get access token ? Should I perform post/get method on requests for asking question?