Home Reference Source
import StackExchangege from '~/models/StackExchange.js'
public class | source

StackExchangege

Talks to SE API

Static Method Summary

Static Public Methods
public static

async authorize(): StackExchange

Authorizes to SE object

public static

Logs in and gets auth key

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public

async getQuestions()

Gets the posts

public

Static Public Methods

public static async authorize(): StackExchange source

Authorizes to SE object

Return:

StackExchange

public static loginAuthKey(): string source

Logs in and gets auth key

Return:

string

Public Constructors

public constructor() source

Public Methods

public apiRequest() source

public async getQuestions() source

Gets the posts

public async pagingApiRequest() source