reanahub / docs.reana.io

REANA documentation web site
http://docs.reana.io
MIT License
3 stars 31 forks source link

docs: reana-client Python API #23

Closed tiborsimko closed 3 years ago

tiborsimko commented 4 years ago

Ditto as #22 but for Python API.

http://docs.reana.io/reference/reana-client-python-api

tiborsimko commented 3 years ago

Option 1: We can check whether we can easily generate Python APIs on RTFD. However, Python APIs themselves would not provide "the flow", only the reference. So perhaps we can focus on the "flow" style of docs instead, that would reach out to more users.

Option 2: We can prepare an extensive page describing a "how to" guide about how to use Python APIs. What we currently have in the "flow" docs style is the following forum post describing Python API usage flow:

What we should do is roughly the following:

tiborsimko commented 3 years ago

Regarding option 1, we currently have:

$ less docs/index.rst
...
API docs
========

.. automodule:: reana_client.api.client
  :members: create_workflow_from_json, upload_file, start_workflow, download_file

We need to enrich it with all the interesting functions mentioned in the blog post.

Ideally, gettting status, listing all workflows, etc... Basically everything that we offer as "nice API" should be included there.

mvidalgarcia commented 3 years ago

Closed by https://github.com/reanahub/reana-client/pull/495 🎆

Docs here: https://reana-client.readthedocs.io/en/latest/#module-reana_client.api.client