Platform

Twitch

GET https://my.elara.services/api/platform/twitch

Create an API "Client-ID" here: https://dev.twitch.tv/console

Query Parameters

NameTypeDescription

key

string

Your API key

token

string

Your Twitch Client-ID

user

string

The twitch user name or ID

{
    status: true,
    user: {
        username: "",
        name: "",
        id: "",
        avatar: "",
        url: "",
        lang: "",
        software: "",
        created: "",
        updated: "",
        partnered: false,
        mature: false
    },
    game: {
        title: "",
        delay: "",
        prerolls: false,
        postrolls: false,
    },
    counts: {
        views: 0,
        followers: 0
    },
    team: {
        name: "",
        username: ""
    },
    images: {
        banner: "",
        video_banner: "",
        background: "",
        profile: {
            banner: "",
            background_color: ""
        }
    },
    stream: {
        live: false,
        game: {
            title: "None",
            viewers: 0,
            thumbnail: "",
            lang: "en",
            id: 0,
            started: ""
        }
    }
}

Picarto

GET https://my.elara.services/api/platform/picarto

Query Parameters

NameTypeDescription

key

string

Your API key

search

string

The username or ID of the Picarto user.

{
    status: true, 
    user: {
        name: "",
        id: 0,
        avatar: "",
        url: "",
        type: "",
        recordings: false,
        commissions: false,
        description_panels: [],
        private: {
            enabled: false,
            message: ""
        },
        languages: [],
    },
    counts: {
        followers: 0,
        subscribers: 0,
        views: {
            current: 0,
            total: 0
        }
    },
    stream: {
        live: false,
        last: "",
        title: "",
        adult: false,
        tags: [],
        multistream: [],
        thumbnails: {
            web: {
                normal: "",
                large: ""
            },
            mobile: "",
            tablet: ""
        }
    },
    misc: {
        stream_settings: {guest_chat: false, links: false, level: 0}
    }
}

IMDB

GET https://my.elara.services/api/platform/imdb

Query Parameters

NameTypeDescription

key

string

Your API key

token

string

Your IMDB clientID

show

string

The tv show or movie name

// TV show response
{
    status: true,
    series: false,
    name: "",
    id: 0,
    rated: "",
    plot: "",
    genres: [],
    director: "",
    actors: [],
    country: "",
    languages: [],
    awards: "",
    ratings: [],
    metascore: 0,
    rating: 0,
    poster: "",
    votes: "0",
    type: "",
    seasons: 0,
    url: "",
    episodes: [],
    times: {
      start: 0,
      released: "",
      date: "",
      run: "",
    }
}
// Movie Response
{
    status: true,
    series: false,
    name: "",
    id: 0,
    rated: "",
    plot: "",
    genres: [],
    director: "",
    actors: [],
    writer: [],
    country: "",
    languages: [],
    awards: "",
    ratings: [],
    metascore: 0,
    rating: 0,
    poster: "",
    votes: "0",
    boxoffice: "$0",
    production: "",
    website: "",
    type: "",
    dvd: "",
    url: "",
    times: {
      year: 0,
      released: "",
      run: "",
    }
  }

Paladins

GET https://my.elara.services/api/platform/paladins

Apply for the Paladins devID, auth here: https://fs12.formsite.com/HiRez/form48/secure_index.html (as of 1/15/2020 the API applications are closed)

Query Parameters

NameTypeDescription

key

string

Your API key

devID

string

Your devID for the Paladins API

auth

string

Your auth string for the Paladins API

user

string

The username for the player

platform

string

The platform type Default is: pc

{
    status: true,
    platform: "",
    user: {
      id: 0,
      username: "",
      description: "",
      region: "",
      lastlogin: "",
      created: ""
    },
    counts: {
      leaves: 0,
      level: 0,
      losses: 0,
      mastery: 0,
      wins: 0,
      xp: 0,
      worshippers: 0,
      achievements: 0,
      hoursPlayed: 0
    },
    ranked: {
      conquest: {},
      controller: {},
      kbm: {}
    },
    team: {
      id: 0,
      name: ""
    }
  }

Fortnite

GET https://my.elara.services/api/platform/fortnite

Apply for Fortnite API key here: https://www.fortnitetracker.com/site-api

Query Parameters

NameTypeDescription

key

string

Your API key

token

string

Your Fortnite API key

user

string

The username for the user.

platform

string

The platform type Types: pc, xbl, psn Default is: pc

{
    status: true,
    username: "",
    id: 0,
    platform: "",
    url: "",
    stats: [] // Array object of the stats
  }

Roblox

GET https://my.elara.services/api/platform/roblox

No API key required for this endpoint (May change in the future, Roblox might require one)

Query Parameters

NameTypeDescription

key

string

Your API key

id

string

Discord user ID

{
    status: true,
    user: {
        username: "",
        id: 0,
        online: false,
        url: "",
        avatar: ""
    },
    groups: [
        { // Example group object
            name: "",
            id: 0,
            rank: 0,
            role: "",
            primary: false,
            inclan: false,
            url: "",
            emblem: {
                url: "",
                id: ""
            }
        }
    ]
}

Roblox-Group

GET https://my.elara.services/api/platform/roblox-group

No API key required for this endpoint (May change in the future, Roblox might require one)

Query Parameters

NameTypeDescription

key

string

Your API key

id

string

The Group ID

{
    status: true,
    id: 0,
    name: "",
    description: "",
    members: 0,
    shout: {
        description: "",
        created: "",
        updated: "",
        by: {
            id: 0,
            username: "",
            buildersclub: ""
        }
    },
    hasclan: false,
    buildersclubonly: false,
    public: false,
    owner: {
        id: 0,
        username: "",
        buildersclub: "None"
    }
}

YouTube-Stats

GET https://my.elara.services/api/platform/yt-stats

Requires an API key. Create one here: https://www.console.developers.google.com/apis

Query Parameters

NameTypeDescription

key

string

Your API key

token

string

Your YouTube API key

user

string

The channel ID or name

{
    status: true, 
    user: {
        username: "",
        id: "",
        created: "",
        country: "",
        description: "",
        banner: "",
        avatars: {
            small: "",
            medium: "",
            large: ""
        },
        links: {
            normal: "",
            custom: ""
        }
    },
    counts: {
        views: 0,
        comments: 0,
        subscribers: 0,
        videos: 0
    },
}

GET https://my.elara.services/api/platform/yt-search

Requires an API key. Create one here: https://www.console.developers.google.com/apis

Query Parameters

NameTypeDescription

key

string

Your API key

token

string

Your YouTube API key

name

string

Whatever you want to search

type

string

Type of what is returned, default is "video"

{
  status: true,
  random: {}, // Returns 1 random result from the list
  list: [] // ALl of the results 
}

Last updated