Abyss Memories
  • Abyss Memories
  • Setup
    • Core
  • Tutorials
    • Create an event
  • About
    • Links
Powered by GitBook
On this page
  • Using the NPM Core Package
  • Standalone
  1. Setup

Core

PreviousAbyss MemoriesNextCreate an event

Last updated 8 months ago

Using the NPM Core Package

The Core setup will allow you to use the core methods to access the service API.

AbyssMemoriesCore.setConfig({
      // Your Memories Account API key
      apiKey: "memories-account-api-key",
});
AbyssMemoriesCore.enableAxiosRetry();

Standalone

If you are not using the to access the API, you can skip this step and just set your API key on the HTTP request header.

// HTTP Version
GET /api/user/me HTTP/1.1
Host: memories-api.abyss-project.fr
abyss-memories-api-key: "abyss-memories-api-key"

// Curl Version
curl --location 'https://memories-api.abyss-project.fr/api/user/me' \
--header 'abyss-memories-api-key: abyss-memories-api-key'

abyss-memories-api-key:allow you to access account endpoint

NPM package
How to create an API Key ?