Skip to main content

A small tool for calling APIs in Knowledge Forum

Project description

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>")

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

kf6py-0.2.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kf6py-0.2.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file kf6py-0.2.3.tar.gz.

File metadata

  • Download URL: kf6py-0.2.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.8

File hashes

Hashes for kf6py-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e3f554a00bba9bece516c90814622b367055eae702edf1f1b1e1f1b247e7db71
MD5 2b8e40dc8d8211aa18fffc74506e3891
BLAKE2b-256 ebebf3c60a2b57f8d4c61845652688337582e91389aadc5a15b0d11aa0cd0b3d

See more details on using hashes here.

File details

Details for the file kf6py-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: kf6py-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.8

File hashes

Hashes for kf6py-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9beba23d4942740a728b083ede6622e0ed8ef40e5247b13559a01e09cce943d1
MD5 cb9287e9f9696ac664f1bd33f3091406
BLAKE2b-256 b67180a2adfe20462254bd8a6de1357508081a50ca1d6bfa1108e384223757cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page