SneakerBot icon indicating copy to clipboard operation
SneakerBot copied to clipboard

Adding New Feature: Future Auto Start

Open kiddkrypto opened this issue 4 years ago • 8 comments

I got the app to work and does a great job so far from what i see. I have been able to buy anything but i noticed i will have to be at my computer when a shoe drops in order to get a chance to get them. is there a way we can schedule these tasks?

kiddkrypto avatar Dec 17 '21 20:12 kiddkrypto

@kiddkrypto that's a great suggestion and something I've planned to add at some point when I find time. We can allow the user to set a start date/time for the task and then use something like node-schedule to schedule its execution.

If you or anyone else feels led to add such a feature, please feel free to submit a Pull Request and I will happy review/merge it.

samc621 avatar Dec 17 '21 20:12 samc621

@samc621 also how can I set this app up to buy in bulk?

kiddkrypto avatar Dec 21 '21 16:12 kiddkrypto

@kiddkrypto you can create a Task for each order you want to create. So you can supply a different billing address, shipping address, and payment method for each.

samc621 avatar Dec 22 '21 13:12 samc621

@samc621 can you do multiple sizes in one task?

kiddkrypto avatar Dec 22 '21 13:12 kiddkrypto

@kiddkrypto no you cannot, each task is designed to order a single item. So if you want 2 sizes of a shoe, create two tasks. I recommend checking out the API docs/DB schema.

samc621 avatar Dec 23 '21 00:12 samc621

I got the app to work and does a great job so far from what i see. I have been able to buy anything but i noticed i will have to be at my computer when a shoe drops in order to get a chance to get them. is there a way we can schedule these tasks?

---- Hey man, can you help me with how to run this code? Trying to buy one of the drops for my nephew. TIA

abhingupta avatar Apr 12 '22 00:04 abhingupta

@abhingupta have you followed the instructions in the README? You will need to create tasks either directly in the DB or via the API. And then you can start a task from the API, or from the command line.

samc621 avatar Apr 12 '22 02:04 samc621

@samc621 Thanks, Sam! figured it out! Thank you. I am also running into the CORS issue that's already reported as a bug.

abhingupta avatar Apr 12 '22 02:04 abhingupta