Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gago-arcgis-rest-request

gaoqiang070720MIT0.2.9TypeScript support: included

处理arcgis的rest请求

typescript, gago, arcgis, arcgis-rest, request

readme

OVERVIEW

A module for making requests to the ArcGIS REST API that runs in Node.js and modern browsers.

USE

npm install gago-arcgis-rest-request
import { request } from 'gago-arcgis-rest-request';
const url = "https://www.arcgis.com/sharing/rest/content/items/6e03e8c26aad4b9c92a87c1063ddb0e3/data";

request(url).then(response => {
    console.log(response) // WebMap JSON
});