Kippt.com API wrapper for Python
Project description
# Kippt for Python
Kippt for Python is an API wrapper for [Kippt](http://www.kippt.com).
The library strives to stay as close to the actual API structure by having each resource in it’s own class, and having each method return the original JSON without any modifications.
### Installation
pip install kippt
### Usage Browse through the [repository](kippt) to see the various methods available. All methods are documented and should be fairly obvious - If not, please create an issue and I’ll do what I can to update it!
Setup your application to use Kippt, and authenticate! Kippt for Python takes either a user/pass or user/token combination. If a password is given, Kippt will attempt to authenticate immediately - And if successful, will grab the api_token and use that for any further requests.
from kippt import Kippt
k = Kippt(‘my_username’, password=’my_password’) # or.. k = Kippt(‘my_username’, api_token=’my_crazy_long_api_token’)
Checkout your profile:
k.account()
Checkout some other user’s profile:
k.users().user(12345).profile()
Checkout your Kippt news feed:
k.clips().feed()
How about with a larger limit?:
k.clips().feed(limit=100)
Or offset?:
k.clips().feed(limit=40, offset=5)
### License
[MIT](LICENSE)
### Contributing in 4 easy steps! - Fork the project. - Create a new feature branch. - Hack. - Submit a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file kippt-2.0.0.tar.gz
.
File metadata
- Download URL: kippt-2.0.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb8bc9245f0f4924de1e973f7e9fbcbf41668de780473d2726f4f06f3a3b7468 |
|
MD5 | 0ece616e3b3b3df1241e2ae86aafd140 |
|
BLAKE2b-256 | 4e84cdffc67eff5a672847b0192546b5c63be3cc7a2e17e9a23cf0e4bfcde273 |