Giter Club home page Giter Club logo

Comments (6)

xSke avatar xSke commented on July 21, 2024

The API is unfinished and undocumented but you can check the source for the endpoints: https://github.com/xSke/PluralKit/blob/master/src/api_main.py#L107.

The root is "pkapi.astrid.fun", until I buy a domain for it.

from pluralkit.

Ryonez avatar Ryonez commented on July 21, 2024

I've tried looking at it, but I lack the knowledge to decipher it properly.
What is being asked for by the {id} value? The user/system unique id's?

While that would get some specific info, I was looking at trying to get some general info, like the total number of systems/members, total messages sent, that kind of thing. I vaguely remember you saying you display something like that on a grafana dashboard, though I may be mistaken.

from pluralkit.

xSke avatar xSke commented on July 21, 2024

The {id} is the 5-character code for the system/member. There's no overall stats for the bot yet. You're right, I had that on a Grafana dashboard but I took that down for (lack of) maintenance reasons.

from pluralkit.

Ryonez avatar Ryonez commented on July 21, 2024

I see. Any chance they'll be restored?

from pluralkit.

xSke avatar xSke commented on July 21, 2024

Probably not the dashboard, but I can add endpoints for it When I Have Time™.

from pluralkit.

Ryonez avatar Ryonez commented on July 21, 2024

Alright, thank you for the answers.

from pluralkit.

Related Issues (20)

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.