My another attempt ( last attempt ) to create OGame API, this time with puppeteer.
My target is to write at least 90% coverage of OGame functionality with this API
- Logging into default server (last played server)
- Get resources
- Get resource buildings
- Get station buildings
clone this repo
npm install
create .env file with variables OGAME_LOGIN and OGAME_PASSWORD
npm run dev
You just need to create OGameFunction in src/game/functions and then add it to src/game/index.ts if you want :D