---++ <span>Profile.GetMCML</span> <div style="float: right; margin: 5px; width: 350px; color: #4e5155; background-color: #f0eded; border: #ccc 1px solid; padding: 5px"> *Contents* %TOC% </div> ---++ What is ParaWorld API? ParaWorld API is an evolving collection of web service or REST interface. You can add social context to your application by calling these API to access user profile, friend, photo, map, and many other official application interface. ---++ Web serivce vs. REST Interface API uses both web service and REST-like interface. REST interface means that all web method calls are made over the Internet by sending HTTP GET or POST requests to the our servers. Nearly any computer language can be used to communicate over HTTP with our servers. The query result can be returned either in XML format or NPL table format. The latter is more compact and more readable by human beings and is the default format used by our official servers. ---++ API Methods APIs are organized by namespaces. The sample code in this article assumes that you are using the NPL web service wrapper which is located in script/app/API folder of the client installation. <table width="100%" border="0"><tbody><tr><td width="33%" valign="top"> ---+++ auth * [[Paraworld_auth_AuthUser][paraworld.auth.AuthUser]] * [[Paraworld_auth_Logout][paraworld.auth.Logout]] * [[Paraworld_auth_VerifyUser][paraworld.auth.VerifyUser]] * [[Paraworld_auth_CheckVersion][paraworld.auth.CheckVersion]] ---+++ friends * [[Paraworld_friends_get][paraworld.friends.get]] * [[Paraworld_friends_add][paraworld.friends.add]] * [[Paraworld_friends_remove][paraworld.friends.remove]] ---+++ profile * [[Paraworld_profile_SetMCML][paraworld.profile.SetMCML]] * [[Paraworld_profile_GetMCML][paraworld.profile.GetMCML]] ---+++ users * [[Paraworld_users_getInfo][paraworld.users.getInfo]] * [[Paraworld_users_setInfo][paraworld.users.setInfo]] * [[Paraworld_users_isAppAdded][paraworld.users.isAppAdded]] </td><td width="33%" valign="top"> ---+++ map * [[Paraworld_map_UploadFile][paraworld.map.UploadFile]] * [[Paraworld_map_OfficialMap][paraworld.map.OfficialMap]] * [[Paraworld_map_UserMap][paraworld.map.UserMap]] * [[Paraworld_map_GetWorlds][paraworld.map.GetWorlds]] * [[Paraworld_map_GetMapMarkOfPage][paraworld.map.GetMapMarkOfPage]] * [[Paraworld_map_GetMapMarksInRegion][paraworld.map.GetMapMarksInRegion]] * [[Paraworld_map_GetMapModelByIDs][paraworld.map.GetMapModelByIDs]] * [[Paraworld_map_GetMapModelOfPage][paraworld.map.GetMapModelOfPage]] * [[Paraworld_map_GetTilesInRegion][paraworld.map.GetTilesInRegion]] * [[Paraworld_map_GetMapMarkByID][paraworld.map.GetMapMarkByID]] * [[Paraworld_map_AddMapMark][paraworld.map.AddMapMark]] * [[Paraworld_map_RemoveMapMark][paraworld.map.RemoveMapMark]] * [[Paraworld_map_AddModel][paraworld.map.AddModel]] * [[Paraworld_map_GetModelByID][paraworld.map.GetModelByID]] * [[Paraworld_map_UpdateModel][paraworld.map.UpdateModel]] * [[Paraworld_map_RemoveModel][paraworld.map.RemoveModel]] * [[Paraworld_map_SearchMapMark][paraworld.map.SearchMapMark]] * [[Paraworld_map_AddTile][paraworld.map.AddTile]] * [[Paraworld_map_GetTileByID][paraworld.map.GetTileByID]] * [[Paraworld_map_UpdateTile][paraworld.map.UpdateTile]] * [[Paraworld_map_PublishWorld][paraworld.map.PublishWorld]] * [[Paraworld_map_GetWorldByID][paraworld.map.GetWorldByID]] * [[Paraworld_map_UpdateWorld][paraworld.map.UpdateWorld]] * [[Paraworld_map_RemoveWorld][paraworld.map.RemoveWorld]] * [[Paraworld_map_BuyTile][paraworld.map.BuyTile]] </td><td valign="top"> ---+++ actionfeed * [[Paraworld_actionfeed_PublishStoryToUser][paraworld.actionfeed.PublishStoryToUser]] * [[Paraworld_actionfeed_PublishActionToUser][paraworld.actionfeed.PublishActionToUser]] * [[Paraworld_actionfeed_PublishRequestToUser][paraworld.actionfeed.PublishRequestToUser]] * [[Paraworld_actionfeed_PublishMessageToUser][paraworld.actionfeed.PublishMessageToUser]] * [[Paraworld_actionfeed_PublishItemToUser][paraworld.actionfeed.PublishItemToUser]] * [[Paraworld_actionfeed_sendEmail][paraworld.actionfeed.sendEmail]] ---+++ inventory * [[Paraworld_inventory_GetBag][paraworld.inventory.GetBag]] * [[Paraworld_inventory_AddItem][paraworld.inventory.AddItem]] * [[Paraworld_inventory_RemoveItem][paraworld.inventory.RemoveItem]] ---+++ lobby * [[Paraworld_lobby_CreatRoom][paraworld.lobby.CreatRoom]] * [[Paraworld_lobby_JoinRoom][paraworld.lobby.JoinRoom]] * [[Paraworld_lobby_GetRoomList][paraworld.lobby.GetRoomList]] ---+++ marketplace * [[Paraworld_marketplace_GetBags][paraworld.marketplace.GetBags]] * [[Paraworld_marketplace_AddBag][paraworld.marketplace.AddBag]] * [[Paraworld_marketplace_RemoveBag][paraworld.marketplace.RemoveBag]] </td></tr></tbody></table> ---++ Additional documentation * [[AuthGuide][Authentication guide]] * [[ErrorCodes][Error codes]] ---++ Usage Examples in NPL * [[ExamplePhotoUploads][Photo uploads]] * [[ExampleMarketplace][Marketplace Listing]] * [[ExampleMap][Map Editing]] * [[ExamplePublishWorld][Publish World]] * [[ExampleProfileMCML][Profile box MCML]] * [[ExampleUserFriends][User and friends Info]] ---++ External tools * facebook's api test console: http://developers.facebook.com/tools.php * FBML: http://wiki.developers.facebook.com/index.php/FBML * TODO: Create our own test console as a TestConsoleApp
Edit
|
Attach
|
P
rint version
|
H
istory
:
r20
|
r8
<
r7
<
r6
<
r5
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r6 - 2008-03-05
-
CaoYF
Home
Site map
CCWeb web
HaqiTeen web
Main web
ParaEngine web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
导航页WebTopMenu
Preferences
开发指南
Getting Started
ParacraftSDK
NPL
MCML
NPL Reference Manual
美术Mod
Account
Log In
English
简体中文
簡體中文
Edit
Attach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback