ReplAPI-it / ReplAPI.it-NodeJS

[DEPRECIATED] ๐™€๐™ซ๐™š๐™ง๐™ฎ๐™ฉ๐™๐™ž๐™ฃ๐™œ ๐™๐™š๐™ฅ๐™ก๐™ž๐™ฉ, ๐™–๐™ก๐™ก ๐™–๐™ฉ ๐™ฎ๐™ค๐™ช๐™ง ๐™™๐™ž๐™จ๐™ฅ๐™ค๐™จ๐™–๐™ก. This is the single most extensive Replit package, allowing you to access various parts of the site with just a few classes and methods. Maintained by @RayhanADev.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Queries for Replit Achievement Class

rayhanadev opened this issue ยท comments

commented

I don't quite know if Replit Achievements went defunct but I know they disappeared. In any case the GraphQL query is apparently still there, so we can use it.


{
  achievements {
    title
    description
  }
}

Returns: List of all Achievements

{
  "data": {
    "achievements": [
      {
        "title": "Mask Off",
        "description": "Change your profile picture and bio"
      },
      {
        "title": "Repl.it Contributor",
        "description": "Submit good posts on Repl Talk"
      },
      {
        "title": "Repl.it Guide",
        "description": "Have your comments be accepted as answers on someone's Repl Talk post"
      },
      {
        "title": "Unstoppable Repler",
        "description": "This is a streak that shows how many days in a row you have coded on Repl.it"
      },
      {
        "title": "Multiplayer",
        "description": "Join some new multiplayer repls and collaborate on coding projects"
      },
      {
        "title": "Repl.it Famous",
        "description": "Have a Repl Talk post trend on the Repl.it home page"
      },
      {
        "title": "1 Year Club",
        "description": "Be an active Repl.it user for over a year"
      }
    ]
  }
}

{
  achievement(id: 1) {
    title
    description
    isLeveled
    level
    showProgressBar
    progressBarStatus
  }
}

Returns: A Specific Achievement

{
  "data": {
    "achievement": {
      "title": "Mask Off",
      "description": "Change your profile picture and bio",
      "isLeveled": false,
      "level": null,
      "showProgressBar": false,
      "progressBarStatus": 100
    }
  }
}
commented

This has been shifted over to the next minor release of ReplAPI.it and will not be featured in the major update.

commented

I'm going to close this for now because Replit no longer uses achievements. In the future if achievements are brought back this issue will be reopened.