mapillary-js/src/API.ts
Johan Gyllenspetz 64bfedabb7 Fix rest import
2015-11-04 18:16:37 -08:00

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;