Getting Started
Artifacts is an asynchronous MMORPG in which you can control up to 5 characters at the same time. Your characters can fight monsters, gather resources, craft items and much more. Unlike a traditional game, you’ll have to write your own scripts in your preferred programming language to control your characters via an API.
Create Your Account
Section titled “Create Your Account”- Register at artifactsmmo.com/account/register
- Log in and create your first character
- Copy your token from your account page
Your First API Call
Section titled “Your First API Call”You can view your character using this request:
Endpoint: GET /characters/{name}
curl --request GET \--url 'https://api.artifactsmmo.com/characters/YOUR_CHARACTER_NAME' \--header 'Accept: application/json'const url = 'https://api.artifactsmmo.com/characters/YOUR_CHARACTER_NAME';const options = {method: 'GET',headers: { Accept: 'application/json'}};
try {const response = await fetch(url, options);const data = await response.json();console.log(data);} catch (error) {console.error(error);}import requests
url = "https://api.artifactsmmo.com/characters/YOUR_CHARACTER_NAME"headers = {"Accept": "application/json"}
response = requests.get(url, headers=headers)print(response.json())The API will return a list of your characters. Now it’s time to start playing with our tutorial.
Interactive Tutorial
Section titled “Interactive Tutorial”Now it’s time to start our tutorial, available directly in our game client. The game client is a powerful web application that lets you control and monitor your characters in real time.
It is available in JavaScript and Python and will guide you through the basics:
- Moving your character across the map
- Fighting your first monster
- Resting to recover HP
- Crafting your first weapon
To start the tutorial, open the game client at play.artifactsmmo.com and click the Tutorial button in the top right corner.