Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffolding for Nettskjema API (v2) report download #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

torgeirl
Copy link

@torgeirl torgeirl commented May 11, 2021

The fui_kk/download_reports.py script stopped working when Nettskjema transitioned from regular user authentication to Feide OAuth2 authentication (issue #105).

The current API v2 lack two vital components:

  • a method for iterating available forms
  • a less manual way to grant the API user access to forms

Due to this it's currently more work to grant the API user access than to just download the TSV files from the web interface directly. The next version of the API is however in the makings (ETA: Fall of 2021), and some of the provided code could probably be reused or at least serve as an example for how to access Nettskjema submission data using HTTP requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant