Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
api [2026/04/07 04:55] melonapi [2026/07/12 20:04] (current) melon
Line 2: Line 2:
  
 The MelonLand API is a programing interface you can use to access forum data on your site or in a program you are coding. All API calls return JSON standard data that can be parsed in JavaScript, PHP and all other languages. The MelonLand API is a programing interface you can use to access forum data on your site or in a program you are coding. All API calls return JSON standard data that can be parsed in JavaScript, PHP and all other languages.
 +
 +  * For the Everyone Site API, [[:pad#api:|check here]]!
 +  * For the Main Street API, [[:street#api_and_scripting:|check here]]!
  
 //**NOTE:** API data is cached for up to 120 seconds on the server, all data received may be 120 seconds out of date.// //**NOTE:** API data is cached for up to 120 seconds on the server, all data received may be 120 seconds out of date.//
Line 7: Line 10:
 All API calls include an "ok" (true, false) value, ok will be true if the api call was successful! All API calls include an "ok" (true, false) value, ok will be true if the api call was successful!
 | **API Function** | **What it does** | **Parameters** | | **API Function** | **What it does** | **Parameters** |
 +| [[https://forum.melonland.net/api.php?smileys|smileys]] | List forum smileys | -- |
 | [[https://forum.melonland.net/api.php?memberNames|memberNames]] | Display names associated with member IDs | ''id'' (filter to member ID) · ''username'' (include eSite username) | | [[https://forum.melonland.net/api.php?memberNames|memberNames]] | Display names associated with member IDs | ''id'' (filter to member ID) · ''username'' (include eSite username) |
-| [[https://forum.melonland.net/api.php?memberWebsites|memberWebsites]] | Linked profile websites | ''id'' (filter to member ID .. same for below!) |+| [[https://forum.melonland.net/api.php?memberWebsites|memberWebsites]] | Linked profile websites | ''id'' (filter to member ID) - **most id fields accept lists id=1,53,2** |
 | [[https://forum.melonland.net/api.php?memberAvatar|memberAvatar]] | Profile avatar filenames | ''id'' | | [[https://forum.melonland.net/api.php?memberAvatar|memberAvatar]] | Profile avatar filenames | ''id'' |
 | [[https://forum.melonland.net/api.php?memberJoinDate|memberJoinDate]] | Member registration dates | ''id'' | | [[https://forum.melonland.net/api.php?memberJoinDate|memberJoinDate]] | Member registration dates | ''id'' |


@000 MelonLand Editor Recent Edits Tenement Arcade Want to Login or Join ? Forum Art Hub Chat Webring Web Guides Graphics Catalogue Wiki Newsletters Image Stream
Melon's Sites TamaNotchi Textures PixelSea GifyPet MoMG Ozwomp Online Loom Videos Leaky Webring Melonking
Tools Melon Software ArtHub Embed Maker ML Passports
Outlinks Frutiger Aero Forum Onio Club m15o's Web Services 32Bit Cafe iMood Webrings Internet Phone Book HTML Energy Declarations Hackers & Designers
Zap! Minecraft: Online
Join: craft.melonking.net