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

Add api route to download cross section in BOLSIG+ text format #12

Open
2 of 3 tasks
daanboer opened this issue May 3, 2022 · 3 comments
Open
2 of 3 tasks

Add api route to download cross section in BOLSIG+ text format #12

daanboer opened this issue May 3, 2022 · 3 comments

Comments

@daanboer
Copy link
Contributor

daanboer commented May 3, 2022

In GitLab by @lxcat on May 3, 2022, 12:10

It would be nice to have an API route which can be used to programmaticly download the cs in BOLSIG+ format.

To make sure the developer has understood the terms of use we could require login or that user has developer role.

There are 3 ways for downloading txt format:

  • A cross section set
  • A single cross section
  • A bag of cross sections
@daanboer
Copy link
Contributor Author

daanboer commented May 3, 2022

In GitLab by @lxcat on May 3, 2022, 12:10

marked this issue as related to #11

By Stefan Verhoeven on 2022-05-03T10:10:16 (imported from GitLab)

By LXCat Project on 2022-05-03T10:10:16 (imported from GitLab)

@daanboer
Copy link
Contributor Author

In GitLab by @sverhoeven on Nov 24, 2022, 09:51

A cross section set can be downloaded in a txt format at /api/scat-css/<id>/legacy API endpoint.

The endpoint requires authentication either you should have a developer token or a cookie that you receive after accepting the terms of user on the cross section set detail page.

@daanboer
Copy link
Contributor Author

In GitLab by @daanboer on Jun 18, 2023, 11:22

marked the checklist item A bag of cross sections as completed

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

No branches or pull requests

1 participant