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 16:26] – 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! - can be a list id=1,56,3) |+| [[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 Melon
Land
Forum Art Hub Chat Webring Explore Random Recent Tenement Arcade Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Help I'm Lost! Link Land Newsletters Image Stream Minecraft: Online Zap!
Passport Sites tamaNOTchi Asatte Add your site?
Aero Archive Onio Cafe 32 Bit Cafe Status Cafe