-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
26 lines (22 loc) · 720 Bytes
/
main.py
File metadata and controls
26 lines (22 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from drptoolkit.esri import FeatureServiceDataScraper
import requests
from pprint import pprint
import json
import logging
import sys
# logger = logging.getLogger(__name__)
logging.basicConfig(
level = logging.INFO,
format = "%(asctime)s - %(levelname)s - %(message)s",
# filename = f"{__name__}.log",
# filemode = 'a',
stream = sys.stdout,
)
# Searching the ArcGIS portal
dc_arcgis_portal_url = "https://dcgis.maps.arcgis.com/"
rest_api_url="https://maps2.dcgis.dc.gov/dcgis/rest/services/FEEDS/MPD/FeatureServer/7"
esri_id = "74d924ddc3374e3b977e6f002478cb9b"
if __name__ == "__main__":
# data_scraper = FeatureServiceDataScraper(esri_id=esri_id)
# data_scraper.download()
pass