KF6 API for Python
This is python package for calling KF6's API's, in hope to make it more friendly for learning analytic researchers.
install
pip install kf6py
usage
from kf6py import KF6API
# we recommend using environment variables to store sensitive information
kf6api = KF6API(kfurl, username, password)
# see the communities you are interested in
kf6api.get_my_communities()
# see the view in a particular community
kf6api.get_views("<community_id here>")
# get the notes in a particular view
kf6api.get_notes_from_view("<community_id>", "<view_id>")
# create contribution in a view
kf6api.create_contribution("<community_id>", "<view_id>", '<contribution_title>', "<contribution_content>")
Release files for kf6py 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kf6py-0.2.4.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kf6py-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / kf6py-0.2.4.tar.gz
| Download URL | kf6py-0.2.4.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
561bd85f8b10e2eb1e3d155227eb1ace2f66046fc5f67f7a36e7f56c388070b8
|
|
BLAKE2b-256 checksum How to use checksums |
3bbaa631547deacaa3790e0161fcbdc007060e13f4af4380e77001337a118516
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.8
|
Release files / kf6py-0.2.4-py3-none-any.whl
| Download URL | kf6py-0.2.4-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7415d1c3c3279f2a806558e654397d6a6921d7b0c84b100e3065ae090c99cee
|
|
BLAKE2b-256 checksum How to use checksums |
3372c366ca40387eb00e03e2044b02f0c564fd823566a4c98ebb0a6f04693e92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.8
|