artifacts_mmo_openapi 5.0.0

SDKdartflutter
Platformandroidioswindowslinuxmacos

An OpenApi generated client for ArtifactsMMO: https://artifactsmmo.com/

artifacts_mmo_openapi

Artifacts is an API-based MMO game where you can manage 5 characters to explore, fight, gather resources, craft items and much more.

Website: https://artifactsmmo.com/

Documentation: https://docs.artifactsmmo.com/

OpenAPI Spec: https://api.artifactsmmo.com/openapi.json

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 5.0
  • Generator version: 7.13.0
  • Build package: org.openapitools.codegen.languages.DartClientCodegen

Requirements

Dart 2.12 or later

Installation & Usage

pub

The recommended way to consume this package is by consuming the publicly published pub package.

Add the following to your library's pubspec.yaml:

  artifacts_mmo_openapi: ^5.0.0

Github

This library can also be consumed from Github by adding the following dependency to your pubspec.yaml

dependencies:
  artifacts_mmo_openapi:
    git:
      url: https://github.com/regenvanwalbeek/artifacts_mmo_openapi.git
      ref: some-branch

Local

To use the package in your local drive, add the following dependency to your pubspec.yaml

dependencies:
  artifacts_mmo_openapi:
    path: /path/to/artifacts_mmo_openapi

Getting Started

Please follow the installation procedure.

In your dart library, use import 'package:artifacts_mmo_openapi/api.dart';

Initialize your client with:

  const token = 'MY_TOKEN_HERE';
  defaultApiClient = ApiClient(
    basePath: 'https://api.artifactsmmo.com',
    authentication: HttpBearerAuth()..accessToken = token,
  );

Then you can make a request. Example:

final destination = DestinationSchema(x: x, y: y);
await MyCharactersApi().actionMoveMyNameActionMovePost('MY_CHARACTER_NAME', destination);

See example.

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
AccountsApicreateAccountAccountsCreatePostPOST /accounts/createCreate Account
AccountsApiforgotPasswordAccountsForgotPasswordPostPOST /accounts/forgot_passwordForgot Password
AccountsApigetAccountAccountsAccountGetGET /accounts/{account}Get Account
AccountsApigetAccountAchievementsAccountsAccountAchievementsGetGET /accounts/{account}/achievementsGet Account Achievements
AccountsApigetAccountCharactersAccountsAccountCharactersGetGET /accounts/{account}/charactersGet Account Characters
AccountsApiresetPasswordAccountsResetPasswordPostPOST /accounts/reset_passwordReset Password
AchievementsApigetAchievementAchievementsCodeGetGET /achievements/{code}Get Achievement
AchievementsApigetAllAchievementsAchievementsGetGET /achievementsGet All Achievements
BadgesApigetAllBadgesBadgesGetGET /badgesGet All Badges
BadgesApigetBadgeBadgesCodeGetGET /badges/{code}Get Badge
CharactersApicreateCharacterCharactersCreatePostPOST /characters/createCreate Character
CharactersApideleteCharacterCharactersDeletePostPOST /characters/deleteDelete Character
CharactersApigetCharacterCharactersNameGetGET /characters/{name}Get Character
EffectsApigetAllEffectsEffectsGetGET /effectsGet All Effects
EffectsApigetEffectEffectsCodeGetGET /effects/{code}Get Effect
EventsApigetAllActiveEventsEventsActiveGetGET /events/activeGet All Active Events
EventsApigetAllEventsEventsGetGET /eventsGet All Events
GrandExchangeApigetGeSellHistoryGrandexchangeHistoryCodeGetGET /grandexchange/history/{code}Get Ge Sell History
GrandExchangeApigetGeSellOrderGrandexchangeOrdersIdGetGET /grandexchange/orders/{id}Get Ge Sell Order
GrandExchangeApigetGeSellOrdersGrandexchangeOrdersGetGET /grandexchange/ordersGet Ge Sell Orders
ItemsApigetAllItemsItemsGetGET /itemsGet All Items
ItemsApigetItemItemsCodeGetGET /items/{code}Get Item
LeaderboardApigetAccountsLeaderboardLeaderboardAccountsGetGET /leaderboard/accountsGet Accounts Leaderboard
LeaderboardApigetCharactersLeaderboardLeaderboardCharactersGetGET /leaderboard/charactersGet Characters Leaderboard
MapsApigetAllMapsMapsGetGET /mapsGet All Maps
MapsApigetMapMapsXYGetGET /maps/{x}/{y}Get Map
MonstersApigetAllMonstersMonstersGetGET /monstersGet All Monsters
MonstersApigetMonsterMonstersCodeGetGET /monsters/{code}Get Monster
MyAccountApichangePasswordMyChangePasswordPostPOST /my/change_passwordChange Password
MyAccountApigetAccountDetailsMyDetailsGetGET /my/detailsGet Account Details
MyAccountApigetBankDetailsMyBankGetGET /my/bankGet Bank Details
MyAccountApigetBankItemsMyBankItemsGetGET /my/bank/itemsGet Bank Items
MyAccountApigetGeSellHistoryMyGrandexchangeHistoryGetGET /my/grandexchange/historyGet Ge Sell History
MyAccountApigetGeSellOrdersMyGrandexchangeOrdersGetGET /my/grandexchange/ordersGet Ge Sell Orders
MyCharactersApiactionAcceptNewTaskMyNameActionTaskNewPostPOST /my/{name}/action/task/newAction Accept New Task
MyCharactersApiactionBuyBankExpansionMyNameActionBankBuyExpansionPostPOST /my/{name}/action/bank/buy_expansionAction Buy Bank Expansion
MyCharactersApiactionChangeSkinMyNameActionChangeSkinPostPOST /my/{name}/action/change_skinAction Change Skin
MyCharactersApiactionCompleteTaskMyNameActionTaskCompletePostPOST /my/{name}/action/task/completeAction Complete Task
MyCharactersApiactionCraftingMyNameActionCraftingPostPOST /my/{name}/action/craftingAction Crafting
MyCharactersApiactionDeleteItemMyNameActionDeletePostPOST /my/{name}/action/deleteAction Delete Item
MyCharactersApiactionDepositBankGoldMyNameActionBankDepositGoldPostPOST /my/{name}/action/bank/deposit/goldAction Deposit Bank Gold
MyCharactersApiactionDepositBankItemMyNameActionBankDepositItemPostPOST /my/{name}/action/bank/deposit/itemAction Deposit Bank Item
MyCharactersApiactionEquipItemMyNameActionEquipPostPOST /my/{name}/action/equipAction Equip Item
MyCharactersApiactionFightMyNameActionFightPostPOST /my/{name}/action/fightAction Fight
MyCharactersApiactionGatheringMyNameActionGatheringPostPOST /my/{name}/action/gatheringAction Gathering
MyCharactersApiactionGeBuyItemMyNameActionGrandexchangeBuyPostPOST /my/{name}/action/grandexchange/buyAction Ge Buy Item
MyCharactersApiactionGeCancelSellOrderMyNameActionGrandexchangeCancelPostPOST /my/{name}/action/grandexchange/cancelAction Ge Cancel Sell Order
MyCharactersApiactionGeCreateSellOrderMyNameActionGrandexchangeSellPostPOST /my/{name}/action/grandexchange/sellAction Ge Create Sell Order
MyCharactersApiactionGiveGoldMyNameActionGiveGoldPostPOST /my/{name}/action/give/goldAction Give Gold
MyCharactersApiactionGiveItemsMyNameActionGiveItemPostPOST /my/{name}/action/give/itemAction Give Items
MyCharactersApiactionMoveMyNameActionMovePostPOST /my/{name}/action/moveAction Move
MyCharactersApiactionNpcBuyItemMyNameActionNpcBuyPostPOST /my/{name}/action/npc/buyAction Npc Buy Item
MyCharactersApiactionNpcSellItemMyNameActionNpcSellPostPOST /my/{name}/action/npc/sellAction Npc Sell Item
MyCharactersApiactionRecyclingMyNameActionRecyclingPostPOST /my/{name}/action/recyclingAction Recycling
MyCharactersApiactionRestMyNameActionRestPostPOST /my/{name}/action/restAction Rest
MyCharactersApiactionTaskCancelMyNameActionTaskCancelPostPOST /my/{name}/action/task/cancelAction Task Cancel
MyCharactersApiactionTaskExchangeMyNameActionTaskExchangePostPOST /my/{name}/action/task/exchangeAction Task Exchange
MyCharactersApiactionTaskTradeMyNameActionTaskTradePostPOST /my/{name}/action/task/tradeAction Task Trade
MyCharactersApiactionUnequipItemMyNameActionUnequipPostPOST /my/{name}/action/unequipAction Unequip Item
MyCharactersApiactionUseItemMyNameActionUsePostPOST /my/{name}/action/useAction Use Item
MyCharactersApiactionWithdrawBankGoldMyNameActionBankWithdrawGoldPostPOST /my/{name}/action/bank/withdraw/goldAction Withdraw Bank Gold
MyCharactersApiactionWithdrawBankItemMyNameActionBankWithdrawItemPostPOST /my/{name}/action/bank/withdraw/itemAction Withdraw Bank Item
MyCharactersApigetAllCharactersLogsMyLogsGetGET /my/logsGet All Characters Logs
MyCharactersApigetCharacterLogsMyLogsNameGetGET /my/logs/{name}Get Character Logs
MyCharactersApigetMyCharactersMyCharactersGetGET /my/charactersGet My Characters
NPCsApigetAllNpcsItemsNpcsItemsGetGET /npcs/itemsGet All Npcs Items
NPCsApigetAllNpcsNpcsDetailsGetGET /npcs/detailsGet All Npcs
NPCsApigetNpcItemsNpcsItemsCodeGetGET /npcs/items/{code}Get Npc Items
NPCsApigetNpcNpcsDetailsCodeGetGET /npcs/details/{code}Get Npc
ResourcesApigetAllResourcesResourcesGetGET /resourcesGet All Resources
ResourcesApigetResourceResourcesCodeGetGET /resources/{code}Get Resource
ServerDetailsApigetServerDetailsGetGET /Get Server Details
TasksApigetAllTasksRewardsTasksRewardsGetGET /tasks/rewardsGet All Tasks Rewards
TasksApigetAllTasksTasksListGetGET /tasks/listGet All Tasks
TasksApigetTaskTasksListCodeGetGET /tasks/list/{code}Get Task
TasksApigetTasksRewardTasksRewardsCodeGetGET /tasks/rewards/{code}Get Tasks Reward
TokenApigenerateTokenTokenPostPOST /tokenGenerate Token

Documentation For Models