用于arcgis api的python sdk
arcgis-sdk的Python项目详细描述
用于Arcgis API的Python sdk
安装
从pypi安装。
pip install arcgis-sdk
快速启动
客户端
>>>importarcgis_sdk>>>client=arcgis_sdk.ArcgisAPI('access_token')>>>client.self()
异常
>>>try:...client.add_item(...username='mongkok',...title='my item',...type='Web Mapping Application'...)...exceptarcgis_sdk.ArcgisAPIErroraserr:...print(err.message)
刷新令牌
>>>client.refresh_token('client_id','refresh_token')
测试
make test