virtualscienceforum / automation

Scripts for running the VSF
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

publishing new events at researchseminars #19

Closed akhmerov closed 3 years ago

akhmerov commented 4 years ago

The token is already in the secrets, and their API is at https://researchseminars.org/api

everthemore commented 4 years ago

I propose a new python file, called from the register-new-zoom-talk bot, that using the API:

everthemore commented 4 years ago

Closed by #9

akhmerov commented 4 years ago

Reopening since we need to reenable it, and I think the code is buggy now (my linter complains about missing authorization argument right now).

everthemore commented 3 years ago

We should pick at least one of the topics listed here, for the SC (and LRC): https://researchseminars.org/api/0/topics

everthemore commented 3 years ago

@akhmerov I'm testing the code we have again before pinging, since I can see some API items have been updated on the researchseminar side. I attempted to create a new seminarseries (id 'vsfspeakerscorner'), and am getting a success message. It may be that you have to confirm this when logging in, could you check (no rush)? No longer required

WIP update on previous attempt: The 'speakerscorner' seminar series exists, and when I use the API to add a talk I get a success message (+ the talk counter succesfully increases), but they do not show up (neither on the website, nor via other API requests to check talks).

everthemore commented 3 years ago
Screenshot 2021-01-28 at 17 14 25

I managed to manually create the series in the meantime, and requested an API token myself for easier testing

akhmerov commented 3 years ago

I checked, and all the talks are there, just pending approval. We can do the following: