rave,
i want to use the "Set map details API".
Maybe this sounds stupid, but
why do you want to use the API? You mention not having any specific programming experience and you're not explaining what you want to accomplish. That means it's possible the easiest way to accomplish your goal is to forget about the API and use the "normal" map editor.
Note: there are tons of "valid" reasons to want to use the API. I'm not saying (or trying to imply) you shouldn't use it; I really am just wondering if the API is indeed the best solution to your problem.