GhostGPT

GhostGPT · Ações GPT

Destiny 2 Information API

An API to fetch Destiny 2 lore, locations, or characters information from Destinypedia.

  • GET /loreFetches Destiny 2 lore information

    Provides information on Destiny 2 lore from Destinypedia.

  • GET /locationsFetches Destiny 2 locations information

    Provides information on Destiny 2 locations from Destinypedia.

  • GET /charactersFetches Destiny 2 characters information

    Provides information on Destiny 2 characters from Destinypedia.

Esquema API original
{
  "openapi": "3.0.0",
  "info": {
    "title": "Destiny 2 Information API",
    "description": "An API to fetch Destiny 2 lore, locations, or characters information from Destinypedia.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://www.destinypedia.com",
      "description": "Destinypedia main server"
    }
  ],
  "paths": {
    "/lore": {
      "get": {
        "operationId": "getLore",
        "summary": "Fetches Destiny 2 lore information",
        "description": "Provides information on Destiny 2 lore from Destinypedia.",
        "responses": {
          "200": {
            "description": "Successfully retrieved lore information",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "lore": {
                      "type": "string",
                      "description": "Lore details from Destinypedia"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/locations": {
      "get": {
        "operationId": "getLocations",
        "summary": "Fetches Destiny 2 locations information",
        "description": "Provides information on Destiny 2 locations from Destinypedia.",
        "responses": {
          "200": {
            "description": "Successfully retrieved locations information",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "locations": {
                      "type": "string",
                      "description": "Locations details from Destinypedia"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/characters": {
      "get": {
        "operationId": "getCharacters",
        "summary": "Fetches Destiny 2 characters information",
        "description": "Provides information on Destiny 2 characters from Destinypedia.",
        "responses": {
          "200": {
            "description": "Successfully retrieved characters information",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "characters": {
                      "type": "string",
                      "description": "Characters details from Destinypedia"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Light.gg API

API for accessing Destiny 2 information from Light.gg.

  • GET /itemsRetrieves a list of items.
  • GET /items/{itemId}Retrieves details of a specific item by ID.
  • GET /perksRetrieves a list of perks.
  • GET /questsRetrieves a list of quests.
  • GET /drop-locationsRetrieves a list of drop locations.
  • GET /player-metricsRetrieves player metrics and item usage statistics.
  • GET /seasonal-contentRetrieves current and past seasonal content details.
Esquema API original
{
  "openapi": "3.1.0",
  "info": {
    "title": "Light.gg API",
    "description": "API for accessing Destiny 2 information from Light.gg.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.light.gg/v1",
      "description": "Main (production) server"
    }
  ],
  "paths": {
    "/items": {
      "get": {
        "operationId": "getItems",
        "summary": "Retrieves a list of items.",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "description": "The type of items to retrieve (e.g., weapon, armor).",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A JSON array of items.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      },
                      "powerLevel": {
                        "type": "integer"
                      },
                      "stats": {
                        "type": "object",
                        "properties": {
                          "attack": {
                            "type": "integer"
                          },
                          "defense": {
                            "type": "integer"
                          }
                        }
                      },
                      "perks": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/items/{itemId}": {
      "get": {
        "operationId": "getItemById",
        "summary": "Retrieves details of a specific item by ID.",
        "parameters": [
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Item details.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "powerLevel": {
                      "type": "integer"
                    },
                    "stats": {
                      "type": "object",
                      "properties": {
                        "attack": {
                          "type": "integer"
                        },
                        "defense": {
                          "type": "integer"
                        }
                      }
                    },
                    "perks": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/perks": {
      "get": {
        "operationId": "getPerks",
        "summary": "Retrieves a list of perks.",
        "responses": {
          "200": {
            "description": "A JSON array of perks.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/quests": {
      "get": {
        "operationId": "getQuests",
        "summary": "Retrieves a list of quests.",
        "responses": {
          "200": {
            "description": "A JSON array of quests.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "step": {
                              "type": "string"
                            },
                            "description": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/drop-locations": {
      "get": {
        "operationId": "getDropLocations",
        "summary": "Retrieves a list of drop locations.",
        "responses": {
          "200": {
            "description": "A JSON array of drop locations.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "location": {
                        "type": "string"
                      },
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/player-metrics": {
      "get": {
        "operationId": "getPlayerMetrics",
        "summary": "Retrieves player metrics and item usage statistics.",
        "responses": {
          "200": {
            "description": "Player metrics data.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "itemUsage": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "itemId": {
                            "type": "string"
                          },
                          "usageCount": {
                            "type": "integer"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/seasonal-content": {
      "get": {
        "operationId": "getSeasonalContent",
        "summary": "Retrieves current and past seasonal content details.",
        "responses": {
          "200": {
            "description": "Seasonal content data.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "season": {
                        "type": "string"
                      },
                      "activities": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "activityName": {
                              "type": "string"
                            },
                            "rewards": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}