Git Product home page Git Product logo

Comments (5)

dosoft avatar dosoft commented on August 28, 2024

seems like u started league implementation and the last commits cause 'error 404' retrieving league info.

from clashogram.

mehdisadeghi avatar mehdisadeghi commented on August 28, 2024

@dosoft oh yes, recenlty I added a basic implementation for it, not polished though, but it was working last time I checked.

How did you try it? You can give a try with docker, but make sure your CoC Token matches your current IP address:

docker run -it --env-file docker_env --restart always -d --name clashogram mehdisadeghi/clashogram

The docker_env file should look like:

COC_API_TOKEN=sometoken
COC_CLAN_TAG=#sometag
TELEGRAM_BOT_TOKEN=somemoretoken
TELEGRAM_CHAT_ID=@somechannel

from clashogram.

mehdisadeghi avatar mehdisadeghi commented on August 28, 2024

btw, the coc servers are very often in maintenance mode (it shouldn't produce 404 though), so try in in different times.

from clashogram.

dosoft avatar dosoft commented on August 28, 2024

I don't remember exactly and far from PC to check this, but AFAIR it was a _get_currentleague_endpoint, returning error 404

Moreover, I've tested this endpoint on the supercell dev site and even there it was 404. My wild guess was that it return this error in case if there is no active league war...

from clashogram.

mehdisadeghi avatar mehdisadeghi commented on August 28, 2024

@dosoft yes, you are right. So please try with a clantag which is participating in the league and see whether it works for you.

from clashogram.

Related Issues (7)

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.