Git Product home page Git Product logo

Comments (5)

JujuDel avatar JujuDel commented on June 16, 2024 1

Just discovered this nice API and faced the issue as well :)

It obviously made your nice README not working when not mocking the data but using live one: andyruwruw/andyruwruw#20

Would you mind refactoring your sortParameters function in src/utils/sort-parameters.js to allow us to pass a value for the header in the request?

It would be neat if one could simply do getPlayer(username, {'User-Agent':'[email protected]'}) (or even getPlayer(username, undefined, undefined, {'User-Agent':'[email protected]'}) would work for me to)

from chess-web-api.

PabloJavArrVel avatar PabloJavArrVel commented on June 16, 2024

What a sad thing, it literally stops my project. Hope we get a solution soon

from chess-web-api.

ddugovic avatar ddugovic commented on June 16, 2024

Yeah... I tried quite a few things to be able to send a user-agent header, but nothing I tried worked since apparently your "headers" options don't work.

from chess-web-api.

andyruwruw avatar andyruwruw commented on June 16, 2024

Oh shoot, that isn't good. Will get on that ASAP.

from chess-web-api.

ddugovic avatar ddugovic commented on June 16, 2024

Thanks, we'll look forward to it.
image

from chess-web-api.

Related Issues (11)

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.