Peter B. Peter B. - 1 year ago 72
Python Question

How to get data from stack exchange site

I need to get data for my research at university from specific stack exchange site.

I am using

and I need to extract title, text, answers and tags from every single question at this specific site. How can I do this most efficiently? Do I have to write scraper to get those data or can I use some kind of API? I need to save them into some kind of database.

Answer Source

You can take a look at the API for stack exchange. First you will need to Authenticate your request and then you can query all the endpoints mentioned in the API.