4

PyStackAPI

The latest version - 0.2.0

What is PyStackAPI?

PyStackAPI is a modern, 100% typed wrapper for the StackExchange API, written in Python.

Documentation

You can find documentation here: https://pystackapi.gitbook.io/docs.

Installing

Enter in terminal:

pip install git+https://github.com/wchistow/[email protected] 

and that's all.

Simple example

Code for getting general information about StackOverflow:

from pystackapi import Site from pystackapi.sites import StackOverflow site = Site(StackOverflow) # Creating a Site class for the StackOverflow site info = site.get_info() # Calling the necessary method print(info.total_questions) # Getting the necessary key 

Output:

23908838 

Changelog

You can find the changelog for the PyStackAPI library in file CHANGELOG.md.

License

MIT

Links

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.