mapycz-api
Version:
mapy.cz fastrpc and REST interfaces
8 lines • 351 B
JavaScript
import { Cache, FileCache } from './cache.js';
import { baseUrl } from './config.js';
import { xfrpc } from './request.js';
export async function request(kind, id, detail, cacher = new FileCache()) {
const re = await xfrpc('detail', [kind, id, detail], { url: baseUrl + '/poiagg' }, cacher);
return re.poi;
}
//# sourceMappingURL=detail.js.map