S
S
sir-coffee2021-08-20 21:34:54
Python
sir-coffee, 2021-08-20 21:34:54

How to write a script to retype data in notion?

In general, I have a notion table that stores bookmarks: videos, articles, etc.
I want to create a telegram bot that accepts my bookmarks as links, for example, I send a message:

https://dtf.ru/gamedev/833790-rezultat-izucheniya-... career 3d

that is, the bot accepts the message format:
<link> <category> <subcategory>


since I don't have money for a server , I just want to get by with a script on my laptop .
What does a script on a laptop mean?
I will make a program on a laptop that will take all the bookmarks from the Telegram Bot, and will reprint this data in notion.

As I understand it, retyping data in notion will not be as easy as "create an element, etc.", since there are no such commands for notion.
So I think the program will act like this: the program turns on the notion in my laptop using the cursor, then the program will open the table and will make a cyclic command to create table elements into which it will overwrite the data from the telegram bot.

end.

Finally I have two questions:
1. In what language should I write a script for retyping data in notion?
2. How to make the program use the cursor to click on certain areas of the screen, that is, on different buttons?

PS About myself:
I know C#, Javascript, Python at an easy level, but I practice ctrl+c and ctrl+v at a professional level
PS Here is the table:

611ff65f63007055538956.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
oleg_ods, 2021-08-21
@sir-coffee

since I don't have money for a server, I just want to get by with a script on my laptop.

It doesn't really matter. The principle of the program will not change from this.
As I understand it, retyping data in notion will not be as easy as "create an element, etc.", since there are no such commands for notion.

Do not understand correctly. They have their own API , all you need to do is make the right requests for the desired actions.
I know C#, Javascript, Python at an easy level, but I practice ctrl+c and ctrl+v at a professional level

Try to develop the skill of googling. Finding info on their API took less than a minute.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question