Giter Club home page Giter Club logo

ultimate-splinterlands-bot-api's Introduction

ultimate-splinterlands-bot-API

Team generating API for Ultimate Splinterlands Bot V2

The source code is quite a mess as I hacked the API together in a day or so, and then had to update it often without really having the time - sorry in advance!

Any help in development is appreciated, make sure to join the Discord server. If you need help in setting up the project you can also feel free to ask for help on the discord server :)

Understanding the code

Until there is better documentation, it's probably best to set a breakpoint at the beginning of the TeamGeneration.GetTeamAsync() method and then to debug trough the whole method. I've tried to add comments where I could but it's really quite a mess, sorry again :D

Database

The database in use is PostgreSQL

Game History Crawler

Setup Database connection: Program.cs
Setup Proxy servers: WebRequest.cs (it's coded for socks 5 servers but can work with almost all with minimal code changes)
I've also added a quick workaround so that the crawler works without proxys

Changing rating brackets

Rating bracket has to be changed in these places:

API: WebApi.GetRatingBracket()
SQL Query: gamecache update.sql

Special thanks

A huge thanks to @chaylins and @0xh3m4n7 for helping with the more complex SQL queries!

ultimate-splinterlands-bot-api's People

Contributors

motoacidic avatar pcjones avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.