├── session_lists.txt ├── requirements.txt ├── README.md └── dosi.py /session_lists.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DOSI Auto Adventure 2 | 3 | Simple Auto Adventure DOSI 4 | 5 | Created by viloid ( github.com/vsec7 ) 6 | 7 | ## • Features 8 | - Auto Claim DON / Attend Check 9 | - Auto Participate Adventure 10 | 11 | ## • Requirements 12 | - Python3 13 | 14 | ## • Installation 15 | 16 | ```bash 17 | git clone https://github.com/vsec7/DOSI.git 18 | ``` 19 | 20 | ## • Edit *session_lists.txt* file with DOSI_SES 21 | 22 | ## • How to find DOSI_SES ? 23 | DOSI session in Header Cookie DOSI_SES=; 24 | 25 | multi accounts : put with separated newline . 26 | 27 | E.g: 28 | ``` 29 | TXiX6t.......... 30 | TXiXab.......... 31 | ``` 32 | 33 | ## • How to Run? 34 | ```bash 35 | cd DOSI 36 | pip install -r requirements.txt 37 | python dosi.py 38 | ``` 39 | 40 | ## • Donate 41 | 42 | SOL Address : viloid.sol 43 | 44 | BSC Address : 0xd3de361b186cc2Fc0C77764E30103F104a6d6D07 45 | -------------------------------------------------------------------------------- /dosi.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # Simple Auto Adventure DOSI 3 | # Created By Viloid ( github.com/vsec7 ) 4 | 5 | import requests, time 6 | 7 | class DOSI: 8 | 9 | def __init__(self, c): 10 | self.base = "https://citizen.dosi.world/api/citizen/v1" 11 | self.cookie = { 'DOSI_SES': c } 12 | 13 | def getBalance(self): 14 | return requests.get(self.base + '/balance', cookies=self.cookie).json() 15 | 16 | def claimDon(self): 17 | return requests.post(self.base + '/events/check-in', cookies=self.cookie).json() 18 | 19 | def adventure(self): 20 | adv = requests.get(self.base + '/adventures', cookies=self.cookie).json() 21 | adv_id = str(adv['adventureList'][0]['id']) 22 | return requests.post(self.base + '/adventures/' + adv_id + '/participation', cookies=self.cookie).json() 23 | 24 | def main(): 25 | 26 | while True: 27 | for s in open("session_lists.txt").read().splitlines(): 28 | x = DOSI(s) 29 | print(x.claimDon()) 30 | print(x.getBalance()) 31 | print(x.adventure()) 32 | print("") 33 | print("+--------------------------------------------+") 34 | time.sleep(86460) # 24:01 hours 35 | 36 | if __name__ == '__main__': 37 | try: 38 | main() 39 | except Exception as err: 40 | print(f"{type(err).__name__} : {err}") 41 | --------------------------------------------------------------------------------