Before running, make sure to fill the NikeRes\ShippingDetails.csv file carefully.
Author: Ali Toori, Full-Stack Python Developer, Bot-Builder.
Founder: https://boteaz.com
YouTube: https://youtube.com/@AliToori
Telegram: https://t.me/@AliToori
Install the required packages by running the following command.
pip install -r requirements.txt
Run the following command in terminal opened at the main folder.
python NikeBot.py
Here is a list and description of the different items to fill:
AccountNo
- AccountNo for each account. Important
- Email for your Nike login
Password
- Password for your Nike login
GmailID
- You Gmail ID for Google login.
GmailPassword
- You Gmail Password for Google login.
ProductURL
- URL for desired shoe: If you don't know the URL, just put Nike home url. You can add URL at run time to the URL.txt file and hit save.
Browser
- Browser type: Default is chrome. If you want to use FireFox, please download geckodedriver and put into the bin folder.
Proxy
- Proxy for each account: Default is set to No. If you want to use proxy, please follow the format '192.162.10.5:8080'.
ShoesSize
- Size of shoes to be selected on the item page.
Shoes Color
- Shoes color: Default is White. You can put any color name. The bot will select that color for you.
LoginTime
- If given, the bot will pause until a specific time before it logs in (can be any datetime format)
ReleaseTime
- If given, the bot will pause until a specific time before it purchase the sneaker (can be any datetime format)
ScreenshotPath
- If given, the bot will take a screenshot of the page after purchasing and save it at the given file path.
Headless
- Defualt is "Yes". Only for first time loging in to Google and Nike accounts. This will run the driver in headless mode, which will make the bot faster.
ChangePayment
- Default is No. If you already have your payment options pre-saved on your Nike account, DO NOT use this. If for some reason you don't have it pre-saved (even though it will cost the bot more time) the bot will select the first payment option it finds.
Purchase
- Default is Yes. If this argument is given as No, the bot WILL attempt on item to add-to-cart only.
FirstName
- First Name for new shipping address.
LastName
- Last Name for new shipping address.
Address
- Comlete address to be used for shipping.
Phone
- Phone number for new shipping address.
EmailAddress
- Email address for new shipping address.
CardNumber
- Credit card number for placing order.
CardExpiry
- Credit card expiry for placing order. Example: 12/25
CVV
- Credit card CVV for placing order.