public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

3 Followers

Retrieving data from web JSON

BMM_Archive · July 15, 2026

BMM_Archive
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Retrieving data from web JSON
  • Original author: tsnyder0928
  • Original date: October 27, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/retrieving-data-from-web-json.70214/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Requests

Summary

Hi all, I am trying to get input from a web server to fill a variable in my game. What I am doing is setting the current weather in my game to the current local weather of the user. I am using openweathermap.org and the data is returned as JSON formatted data.

Archived First Post

Hi all,


I am trying to get input from a web server to fill a variable in my game.


What I am doing is setting the current weather in my game to the current local weather of the user.


I am using openweathermap.org and the data is returned as JSON formatted data.


How can I get the game to us the API call to get the data and parse the JSON into java script variables for my use?  I have been trying to figure this out but don't know where to start.


Here is an example of the API call.


I have removed the actual APPID because I am limited on how many I can use a day, so this link will not work.


api.openweathermap.org/data/2.5/weather?zip={44614},{us}&APPID=


Here is an example of the result: Example API JSON RESPONSE.PNG


Thank you in advance for any help you might be able to give.

Downloads / Referenced Files

RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.

  • Local mirror: 31152-ca3bf2d579be6577b17e6d8fc78fe3c0.png
    SHA-256: 0132b8534ec97cec7099cfb50a9231d58fee626fd9a6201bf1b0cff59c2863e6
    Original attachment URL: https://forums.rpgmakerweb.com/attachments/example-api-json-response-png.50816/

Referenced Images / Attachments

Example API JSON RESPONSE.PNG
Example API JSON RESPONSE.PNG
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

Replies (0)

No replies yet.

0 replies 27 views

Log in to reply.