instagram-graph-api
Version:
A library to help perform requests to the Instagram Graph API.
26 lines (25 loc) • 668 B
TypeScript
import { AxiosResponse } from 'axios';
import { AbstractRequest } from '../../AbstractRequest';
import { GetMeResponse } from './GetMeResponse';
/**
* A Get request to obtain information about the user making it.
*
* @author Tiago Grosso <tiagogrosso99@gmail.com>
* @since 0.3.0
*/
export declare class GetMeRequest extends AbstractRequest<GetMeResponse> {
/**
* The constructor.
*
* @param accessToken the access token.
*/
constructor(accessToken: string);
/**
* @inheritdoc
*/
protected parseResponse(response: AxiosResponse<never>): GetMeResponse;
/**
* @inheritdoc
*/
protected url(): string;
}