This is an old revision of the document!
MelonLand API
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.
NOTE: API data is cached for up to 120 seconds on the server, all data received may be 120 seconds out of date.
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 |
| memberNames | Display names associated with member IDs | id (filter to member ID) · username (include eSite username) |
| memberWebsites | Linked profile websites | id (filter to member ID) - most id fields accept lists id=1,53,2 |
| memberAvatar | Profile avatar filenames | id |
| memberJoinDate | Member registration dates | id |
| memberLastOnline | Member last online timestamps | id |
| rssFeeds | Linked profile RSS feeds | id |
| statusCafe | Linked profile StatusCafe names | id |
| imood | Linked profile iMood names | id |
| spaceHey | Linked profile SpaceHey names | id |
| itch | Linked profile itch.io names | id |
| artifacts | List artifacts | id=22,26 (artifact id) · locked=0 (exclude) · unlocked=0 (exclude) · page |
| memberArtifacts | Lists artifact IDs related to one member | id (member - list owned by) · created (member - list created by) - only use one! |
| artifactHistory | Transfer history for listed artifacts | artifactHistory=906,42,88 (comma-separated artifact IDs) |
| galleryImages | Gallery image listings | id · cat · mature=1 · limit (max 100) · page (grouped by page) |
| galleryCategories | Gallery categories | id (member id - only show cats this member has art in) |
| regions | List MelonLand regions | – |
| guilds | List guilds | id (guild id) · region (region id) |
| guildMembers | Members of a guild | id (guild id, it is required) |
| guildEvents | List guild events | id (guild id) · upcoming=0 (include past events) |
| recentPosts | List recent forum posts | limit (default 10, max 50) · board · id (filter by member id) |
| onlineMembers | Members active in the last 10.beats | – |
| forumStats | Forum statistics | – |
