A
A
Agent_0092018-11-25 16:33:41
JavaScript
Agent_009, 2018-11-25 16:33:41

Script for automatic purchase when the price of a product falls in an online store using JS, where to start?

Guys, I need a script. I will be grateful for any help. We enter the script into the console on the page of the product we want to order. And when the price of this product decreases, the order is automatically placed and the product is purchased. How difficult is this script to implement?
I would like to know where you can push off and start? Where can I find more information on this.
Perhaps someone has seen something similar and can tell me.
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kositsyn, 2018-11-25
@alex_keysi

You can try to pull the api of that site for goods through the node. Go there to monitor the goods. If the price has fallen, you create a buy request. I understand you want the computer to buy goods automatically. You don't need a browser interface. And you only need data about products and api to buy them. Try to pull the rest api to get all the goods from the node. If you need to log in, then pull the rest of the loss first.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question