Comments (3)
Which programming language is the bot written in?
from api.
I'm afraid I'm not entirely sure. Cloudbot is provided by Streamlabs (some info is provided here: https://streamlabs.com/cloudbot), and I don't have access to any of the bot's own code. I can add commands through the Streamlabs dashboard, but this essentially only allows me to specified what text should be returned when a command is triggered.
There is a "{readapi.<url_here>}" variable that allows the bot to make API calls, and "replaces {readapi.<url_here>} variable with the data from the API endpoint." Unfortunately, though, there is no way I can do any post-processing of the API data, so I cannot extract the relevant values from the JSON output of the crosstable API. I've also made a request to Streamlabs to see if they can add more functionality to Cloudbot that would allow me to process JSON data, but thought it might be worth making this request here as well.
I must admit, I do not know much about API servers, so apologies if this is unreasonable!
from api.
Ah, ok, yeah, I think it's a bit unreasonable for API consumers not to be able to parse JSON, that's why I was asking about the programming language.
The solution would proabably be to host your own web application at some cheap or free provider, which does a request to Lichess, parses it, and produces custom output. That will also be much more flexible, both in output formats, and any custom logic you might add.
from api.
Related Issues (20)
- Missing Documention for Broadcasts HOT 1
- Add list of members in a team HOT 7
- Add chapter to study feature request HOT 1
- Duplicate `Get members of a team` on both Users and Teams section is unnecessary
- Add knightvision code to lichess application
- Chapter ID list error HOT 1
- D
- 65535 threads should be enough for anyone
- document /api/timeline
- button auto-disable draw offer HOT 1
- Lichess API documentation
- Lichess API documentation links #2 HOT 1
- Lichess Api code samples in different langs http clients, and sdks HOT 4
- Bot takeback handling is undocumented HOT 2
- "flair" field missing on https://lichess.org/api#tag/Users/operation/apiUser HOT 2
- dark mode support? HOT 2
- Options to not start/pair by Lichess and not to show standings/trophies HOT 2
- Add documentation for block + unblock endpoints HOT 3
- `broadcastTourCreate`/`broadcastTourUpdate` and `broadcastRoundCreate`/`broadcastRoundUpdate` need update HOT 2
- Response to Create Challenge API has changed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.