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.4.tar.gz (4.4 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.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kf6py-0.2.4.tar.gz
  • Upload date:
  • Size: 4.4 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.4.tar.gz
Algorithm Hash digest
SHA256 561bd85f8b10e2eb1e3d155227eb1ace2f66046fc5f67f7a36e7f56c388070b8
MD5 42d428544578a90b923bb9ed940c2383
BLAKE2b-256 3bbaa631547deacaa3790e0161fcbdc007060e13f4af4380e77001337a118516

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kf6py-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e7415d1c3c3279f2a806558e654397d6a6921d7b0c84b100e3065ae090c99cee
MD5 0645fee869508787cdb6f6543052752d
BLAKE2b-256 3372c366ca40387eb00e03e2044b02f0c564fd823566a4c98ebb0a6f04693e92

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