mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
30 lines
604 B
TypeScript
30 lines
604 B
TypeScript
///<reference path="../typings/rest/rest.d.ts" />
|
|
|
|
import * as rest from "rest";
|
|
|
|
export class API {
|
|
private clientId: string;
|
|
|
|
/**
|
|
* Initializes an endpoint to the Mapillary API
|
|
* @class Mapillary.API
|
|
* @classdesc An endpoint for the Mapillary API
|
|
* @param {string} clientId for Mapillary API
|
|
*/
|
|
constructor (clientId: string) {
|
|
this.clientId = clientId;
|
|
};
|
|
|
|
|
|
/**
|
|
* FIXME
|
|
* @method Mapillary.API#v2NavIm
|
|
* @param {string} key FIXME
|
|
*/
|
|
public v2NavIm(key: string): any {
|
|
return rest("");
|
|
};
|
|
};
|
|
|
|
export default API;
|