Skip to content

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

License

Notifications You must be signed in to change notification settings

wchistow/pystackapi

Repository files navigation

Here is PyStackAPI version 0.3.0dev

What is PyStackAPI?

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

Installing

To install PyStackAPI, just enter in the terminal:

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

Documentation

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

Simple example

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

Changelog

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

Contributing

Want to contribute?

  1. fork this repository;
  2. do something with code (see developers' guide);
  3. create pull request.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages