Giter Club home page Giter Club logo

villager-api's Introduction

Villager-API | Replaced by api.iapetus11.me

A useful, Minecraft-related and otherwise API, designed to be used by Villager Bot

  • The api is currently running and accessible at api.iapetus11.me

Routes / Endpoints

Minecraft Related Endpoints/Routes

  • GET /mc/status/:mcserver [Ratelimit: 1 request / 1.5 seconds]
    • Takes one url parameter:
      • mcserver (required) which is the host/ip of the server
    • Example: GET https://api.iapetus11.me/mc/status/hypixel.net:25565
    • Returns a JSON response

  • GET /mc/statuscard/:mcserver [Ratelimit: 1 request / 1.5 seconds]
    • takes one url and one [optional] query parameter:
      • mcserver (required, url parameter) which is the host/ip of the server
      • name (optional, query parameter) text which will be shown instead of the server ip in the generated image
    • Example: GET https://api.iapetus11.me/mc/statuscard/hypixel.net:25565?name=BruhCraftHD
    • Returns an image, returns JSON if an error occurs

  • GET /mc/favicon/:mcserver [Ratelimit: 1 request / 1.5 seconds]
    • takes one url parameter:
      • mcserver (required) which is the host/ip of the server
    • Example: GET https://api.iapetus11.me/mc/favicon/hypixel.net:25565
    • Returns an image, returns JSON if an error occurs

  • GET /mc/achievement/:text [Ratelimit: 1 request / 1 second]
    • takes on url parameter:
      • text (required) which is the text which goes in the generated achievement (Must not be over 30 characters)
    • Example: GET https://api.iapetus11.me/mc/achievement/best%20api
    • Returns an image, returns JSON if an error occurs

  • GET /mc/splash/:text [Ratelimit: 1 request / 1 second]
    • takes on url parameter:
      • text (required) which is the text which goes in the generated achievement (Must not be over 30 characters)
    • Example: GET https://api.iapetus11.me/mc/splash/villager%20bot%20best%20bot
    • Returns an image, returns JSON if an error occurs

Reddit Related Endpoints/Routes

  • GET /reddit/gimme/:subreddits [Ratelimit: 2 requests / 1 second]
    • takes one parameter in the url
      • subreddits (required) the subreddits to fetch images from
    • Example 1: GET https://api.iapetus11.me/reddit/gimme/dankmemes
    • Example 2: GET https://api.iapetus11.me/reddit/gimme/dankmemes+memes+me_irl+meme
    • Returns a JSON response

villager-api's People

Contributors

iapetus-11 avatar

Stargazers

 avatar  avatar  avatar  avatar

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.