PyStackAPI - wrapper for the StackExchange API, written in Python

Trending 10 months ago

PyStackAPI

The latest type - 0.2.0

What is PyStackAPI?

PyStackAPI is simply a modern, 100% typed wrapper for nan StackExchange API, written successful Python.

Documentation

You tin find archiving here: https://pystackapi.gitbook.io/docs.

Installing

Enter successful terminal:

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

and that's all.

Simple example

Code for getting wide accusation astir StackOverflow:

from pystackapi import Site from pystackapi.sites import StackOverflow site = Site(StackOverflow) # Creating a Site people for nan StackOverflow site info = site.get_info() # Calling nan basal method print(info.total_questions) # Getting nan basal key

Output:

23908838

Changelog

You tin find nan changelog for nan PyStackAPI room successful record CHANGELOG.md.

License

MIT

Links

  • GitHub repository: https://github.com/wchistow/pystackapi.git
  • Bug tracker: https://github.com/wchistow/pystackapi/issues
  • Documentation: https://pystackapi.gitbook.io/docs
More
close