Member Counter
  • Member Counter Documentation
    • Counters list
      • Members
      • Math
      • Channels
      • Clock
      • Countdown
      • Game
      • HTTP
      • Nitro Boosters
      • Reddit
      • Replace
      • Roles
      • Bot stats
      • Twitch
      • YouTube
      • Number
      • Concat
    • Using the bot
      • Adding bot to the server
      • Bot Commands
        • info
        • profile
        • invite
        • configure
        • setup
      • Quick-Setup
      • Creating your first counter
      • Customizing counters
      • More on complex counters
    • Custom Bot
      • How to get a custom bot
      • Setting up custom bot
      • Changing bots status
      • Self-hosting the bot
        • Updating a self-hosted bot
    • Misc
      • Legacy Premium Vs Custom Bot
      • Badges
  • How to contribute
  • Add Member Counter
  • Support Discord Server
  • GitHub Repository
Powered by GitBook
On this page
  • Options
  • Example usage
  1. Member Counter Documentation
  2. Counters list

HTTP

Send a GET request to an endpoint and provide the result to this bot.

PreviousGameNextNitro Boosters

Last updated 29 days ago

Options

Counter allows you to specify URL of an endpoint it's going to receive answer from, as well as specifying response lifetime (cache) in seconds. Data path is a path to get the desired value when the response's content type is , the syntax is similar to one used by JS to access properties and array items.

For more information on how to use this counter, refer to More on complex counters.

Example usage

https://api.airvisual.com/v2/city?city=Los%20Angeles&state=California&country=USA&key={{YOUR_API_KEY}}
https://api.weatherapi.com/v1/current.json?key=<YOUR API KEY>&q=New%20York&aqi=no
https://api.coinlore.net/api/ticker/?id=90

You can discover more APIs to use .

Air quality endpoint using (free, api key after signing up).

Weather endpoint using (free, api key after signing up).

BTC Info endpoint using .

here
IQAir
Weatherapi.com
Coinlore API
JSON