Questions tagged [hypixel-api]

For issues related to the Hypixel Public API with which you can code against the Hypixel Minecraft server network.

Official website of the Hypixel API: https://api.hypixel.net/

9 questions
208
votes
3 answers

Error [ERR_REQUIRE_ESM]: require() of ES Module not supported

I'm trying to make a Discord bot that just says if someone is online on the game. However I keep getting this message: [ERR_REQUIRE_ESM]: require() of ES Module from not supported. Instead change the require of index.js in... to a dynamic import()…
N-Man
  • 2,851
  • 2
  • 4
  • 7
1
vote
0 answers

NEF discord bot

Could some1 try & see whats wrong with this? as whenever i try to run the code i get this msg, im trying to make a discord bot that will check hypixel skyblock AH api & return with the prices/name/ah id of the…
Tr0uBlz3
  • 19
  • 1
0
votes
0 answers

Hypixel Skyblock API not pulling all data from auction (Python)

For some reason my code fails to pull a bunch of random items from the auction house. I attached an image of how my directory looks. I understand that Hypixel api isn't used by many and I doubt many that will see this plays minecraft, but if anyone…
Dano
  • 1
  • 1
0
votes
0 answers

Why am I not getting a returned player stats?

I am trying to create a function that loops through the players and gets a player's stats. However, I am never receiving the stats back. Here is the code: queue = [] player_list = {} def update_stats(): os.system("cls") for player in…
0
votes
0 answers

KeyError with hypixel api when profile json does exist

I'm using the Hypixel API while getting a response I try to find a certain key (last_save) in the json request.get(url) gets but while to print it, it keeps saying that the key doesn't exist this is my code import requests import json api_key = 'API…
null
  • 5
  • 2
0
votes
0 answers

Fix External CSS overlapping

My Problem Basically I was making this website to provide people with an easier way to look-up Hypixel's API. The API look-up part is in Javascript and is minimal (and has my api key) so I haven't sent it here. Basically I added a blur to the…
prime
  • 1
0
votes
0 answers

I need help receiving the data from an api every min (looping it)

Im trying to loop the part fetching the reference from the api, there really isn't an error but i couldn't find the correct way to loop it and needed help pastebin: https://paste-bin.xyz/46617 (sorry couldn't paste the code here idk why) I just need…
0
votes
2 answers

NodeJS : Remove duplicate fields from object

Alright so I am making a project using Hypixel's API, it will fetch all of the friends of a specific (predetermined) user and save their UUIDs to a JSON file. Sadly, due to Hypixel having a poorly maintained API there is a glitch that causes the…
Divlocket
  • 1
  • 1
  • 2
0
votes
1 answer

KeyError: records when trying to return record count from API

I am trying to check how many records a player has using the Hypixel API friends endpoint (api.hypixel.net/friends) It keeps giving me a key error when trying to count the records. Here is what the API gives me: { "success": true, "records":…
Deagan Muir
  • 103
  • 4
  • 13