StackExchangePy API Wrapper
Project description
Installation
>>> pip install stackexchangepy
Documentation
Documentation can be found here.
Example code
>>> from stackexchangepy.client import StackExchangeClient >>> >>> client = StackExchangeClient(access_token='token', key='key') >>> >>> >>> answers, _ = client.answers.all() >>> >>> # do something with answers >>> >>> posts, _ = client.posts.all() >>> >>> # do something with posts >>> >>> posts[0].post_id 1234567 >>> posts[0].score 100 >>> posts[0].type question >>>
Licence
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stackexchangepy-1.0.0.tar.gz
(19.1 kB
view details)
File details
Details for the file stackexchangepy-1.0.0.tar.gz.
File metadata
- Download URL: stackexchangepy-1.0.0.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37f044af11b92ca5f7cbb18dca3f52c0b16508c8511f7c1e4b55cb33c48400a4
|
|
| MD5 |
9e0bda8d9a243a5015cfaaa21462d52d
|
|
| BLAKE2b-256 |
afe63d9bc9401fefeeeff5dfd1f87f58fd789f277e32671a35bcefb47ab1479c
|