Here is PyStackAPI version 0.3.0dev
PyStackAPI is a modern, 100% typed wrapper for the StackExchange API, written in Python.
To install PyStackAPI, just enter in the terminal:
pip install git+https://github.com/wchistow/pystackapi.git@0.2.0
You can find documentation here: https://pystackapi.gitbook.io/docs.
Getting general information about site:
from pystackapi import Site from pystackapi.sites import StackOverflow site = Site(StackOverflow) info = site.get_info() print(f'Total questions on StackOverflow: {info.total_questions}')
Output:
Total questions on StackOverflow: 23789952
You can find the changelog for the PyStackAPI library in file CHANGELOG.md.
Want to contribute?
- fork this repository;
- do something with code (see developers' guide);
- create pull request.