Skip to content

Commit 6e44077

Browse files
committed
updated login passwords for samples, guides, etc..
1 parent 1229f34 commit 6e44077

File tree

80 files changed

+104
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+104
-106
lines changed

PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ Please go through each entry in the below checklist and mark an 'X' if that cond
1010
- [ ] All `import`s are in the first cell? First block of imports are standard libraries, second block are 3rd party libraries, third block are all `arcgis` imports? Note that in some cases, for samples, it is a good idea to keep the imports next to where they are used, particularly for uncommonly used features that we want to highlight.
1111
- [ ] All `GIS` object instantiations are one of the following?
1212
- `gis = GIS()`
13-
- `gis = GIS('https://www.arcgis.com', 'arcgis_python', 'P@ssword123')`
1413
- `gis = GIS(profile="your_online_profile")`
15-
- `gis = GIS('https://pythonapi.playground.esri.com/portal', 'arcgis_python', 'amazing_arcgis_123')`
1614
- `gis = GIS(profile="your_enterprise_portal")`
1715
- [ ] If this notebook requires setup or teardown, did you add the appropriate code to `./misc/setup.py` and/or `./misc/teardown.py`?
1816
- [ ] If this notebook references any portal items that need to be staged on AGOL/Python API playground, did you coordinate with a Python API team member to stage the item the correct way with the api\_data\_owner user?
1917
- [ ] Code refactored & split out across multiple cells, useful comments?
2018
- [ ] Consistent voice/tense/narrative style? Thoroughly checked for typos?
2119
- [ ] All images used like `<img src="base64str_here">` instead of `<img src="https://some.url">`? All map widgets contain a static image preview? (Call `mapview_inst.take_screenshot()` to do so)
2220
- [ ] All file paths are constructed in an OS-agnostic fashion with `os.path.join()`? (Instead of `r"\foo\bar"`, `os.path.join(os.path.sep, "foo", "bar")`, etc.)
23-
- [ ] **IF YOU WANT THIS SAMPLE TO BE DISPLAYED ON THE DEVELOPERS.ARCGIS.COM WEBSITE**, ping @ DavidJVitale so he can add it to the list for the next deploy
21+
- [ ] **IF YOU WANT THIS SAMPLE TO BE DISPLAYED ON THE DEVELOPERS.ARCGIS.COM WEBSITE**, ping @ DavidJVitale so he can add it to the list for the next deploy

guide/03-the-gis/accessing-and-creating-content.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284
"outputs": [],
285285
"source": [
286286
"from arcgis.gis import GIS\n",
287-
"gis = GIS(url='https://pythonapi.playground.esri.com/portal', username='arcgis_python', password='amazing_arcgis_123')"
287+
"gis = GIS(profile='your_enterprise_profile')"
288288
]
289289
},
290290
{

guide/03-the-gis/accessing-and-managing-groups.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
],
324324
"source": [
325325
"# connect to GIS with credentials\n",
326-
"gis = GIS(url='https://pythonapi.playground.esri.com/portal', username='arcgis_python', password='amazing_arcgis_123')\n",
326+
"gis = GIS(profile='your_enterprise_profile')\n",
327327
"geocaching_group = gis.groups.create(title='Recreational geocaching',\n",
328328
" tags = 'hobby, geocaching, gps, hide n seek',\n",
329329
" description = 'Group to share your landmarks and games',\n",

guide/03-the-gis/managing-your-content.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"source": [
3737
"#connect to GIS\n",
3838
"from arcgis.gis import GIS\n",
39-
"gis = GIS(\"https://pythonapi.playground.esri.com/portal\", \"arcgis_python\", \"amazing_arcgis_123\")"
39+
"gis = GIS(profile='your_online_profile')"
4040
]
4141
},
4242
{

guide/03-the-gis/using-the-gis.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"outputs": [],
4646
"source": [
47-
"gis = GIS(\"https://www.arcgis.com\", \"arcgis_python\", \"P@ssword123\")"
47+
"gis = GIS(\"https://www.arcgis.com\", \"USERNAME\", \"PASSWORD\")"
4848
]
4949
},
5050
{
@@ -489,7 +489,7 @@
489489
" <div class=\"item_right\" style=\"float: none; width: auto; overflow: hidden;\">\n",
490490
" <a href='http://www.arcgis.com/home/item.html?id=ae4b4dfe6d944f63a40d6044014b9392' target='_blank'><b>Albert E. Davies Wetland Trail at Lake Newport. Mill Creek Park, Boardman, OH</b>\n",
491491
" </a>\n",
492-
" <br/>Lake Newport and the wetland at its southern end are both man-made, dating from the 1920s. Together they cover about 100 acres and in summer attract recreational kayakers, picnickers, and others. It’s rarely crowded, however, and from September to April, it can sometimes be completely deserted. The trail itself is only a few hundred meters long. Winding through reed-beds it dead-ends at a lookout on the lake facing an array of small islands, some of which are accessible only by kayak. The viewing platform is located at 41°03’09.76”N and 80°40’34.05”W. Parking is available a few hundred yards from the trail head; toilets are also provided. Access to the parking lot is from West Newport Drive in Mill Creek Park. \n",
492+
" <br/>Lake Newport and the wetland at its southern end are both man-made, dating from the 1920s. Together they cover about 100 acres and in summer attract recreational kayakers, picnickers, and others. It’s rarely crowded, however, and from September to April, it can sometimes be completely deserted. The trail itself is only a few hundred meters long. Winding through reed-beds it dead-ends at a lookout on the lake facing an array of small islands, some of which are accessible only by kayak. The viewing platform is located at 41°03’09.76â€?N and 80°40’34.05â€?W. Parking is available a few hundred yards from the trail head; toilets are also provided. Access to the parking lot is from West Newport Drive in Mill Creek Park. \n",
493493
"The wetlands are a good all-round bird-watching spot. A wide variety of warblers can be encountered during Spring and Fall migration. I’ve seen Palm, Yellow-Rumped, Black-Throated Green, and many others. On the east side of the viewing platform, across a few tens of meters of water, there is a mud-flat. Depending on the water level it varies considerably in size, occasionally disappearing altogether. Although small, it’s often a good place to look for wading birds, particularly in late summer and early fall. Among the ubiquitous Killdeer and Canada Geese, I have seen Least, Spotted, and Solitary Sandpipers and Lesser Yellowlegs on several occasions. Bald Eagles often can be spotted in the trees just across the water. \n",
494494
"Visit year-round\n",
495495
"This is my favorite \"home patch.\" It's located between my home in Boardman and YSU, where I teach, so this is the place I bird most often – by far! During the academic year I usually stop in for twenty or thirty minutes early in the morning on the way to work at least every other day. By now I know pretty much every tree, bush, and mud-patch! \n",
@@ -547,7 +547,7 @@
547547
" <div class=\"item_right\" style=\"float: none; width: auto; overflow: hidden;\">\n",
548548
" <a href='http://www.arcgis.com/home/item.html?id=de5e98e0d4b54ffd9fe0165e3d51107a' target='_blank'><b>Albert E. Davies Wetland Trail at Lake Newport. Mill Creek Park, Boardman, OH</b>\n",
549549
" </a>\n",
550-
" <br/>Lake Newport and the wetland at its southern end are both man-made, dating from the 1920s. Together they cover about 100 acres and in summer attract recreational kayakers, picnickers, and others. It’s rarely crowded, however, and from September to April, it can sometimes be completely deserted. The trail itself is only a few hundred meters long. Winding through reed-beds it dead-ends at a lookout on the lake facing an array of small islands, some of which are accessible only by kayak. The viewing platform is located at 41°03’09.76”N and 80°40’34.05”W. Parking is available a few hundred yards from the trail head; toilets are also provided. Access to the parking lot is from West Newport Drive in Mill Creek Park. \n",
550+
" <br/>Lake Newport and the wetland at its southern end are both man-made, dating from the 1920s. Together they cover about 100 acres and in summer attract recreational kayakers, picnickers, and others. It’s rarely crowded, however, and from September to April, it can sometimes be completely deserted. The trail itself is only a few hundred meters long. Winding through reed-beds it dead-ends at a lookout on the lake facing an array of small islands, some of which are accessible only by kayak. The viewing platform is located at 41°03’09.76â€?N and 80°40’34.05â€?W. Parking is available a few hundred yards from the trail head; toilets are also provided. Access to the parking lot is from West Newport Drive in Mill Creek Park. \n",
551551
"The wetlands are a good all-round bird-watching spot. A wide variety of warblers can be encountered during Spring and Fall migration. I’ve seen Palm, Yellow-Rumped, Black-Throated Green, and many others. On the east side of the viewing platform, across a few tens of meters of water, there is a mud-flat. Depending on the water level it varies considerably in size, occasionally disappearing altogether. Although small, it’s often a good place to look for wading birds, particularly in late summer and early fall. Among the ubiquitous Killdeer and Canada Geese, I have seen Least, Spotted, and Solitary Sandpipers and Lesser Yellowlegs on several occasions. Bald Eagles often can be spotted in the trees just across the water. \n",
552552
"Visit year-round\n",
553553
"This is my favorite \"home patch.\" It's located between my home in Boardman and YSU, where I teach, so this is the place I bird most often – by far! During the academic year I usually stop in for twenty or thirty minutes early in the morning on the way to work at least every other day. By now I know pretty much every tree, bush, and mud-patch! \n",

guide/03-the-gis/working-with-different-authentication-schemes.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
],
121121
"source": [
122122
"print(\"ArcGIS Online Org account\") \n",
123-
"gis = GIS(\"https://www.arcgis.com\", \"arcgis_python\", \"P@ssword123\")\n",
123+
"gis = GIS(\"https://www.arcgis.com\", \"USERNAME\", \"PASSWORD\")\n",
124124
"print(\"Logged in as \" + str(gis.properties.user.username))"
125125
]
126126
},
@@ -509,9 +509,9 @@
509509
],
510510
"source": [
511511
"#Define 2 different profiles for two different urls\n",
512-
"playground_gis = GIS(url=\"https://pythonapi.playground.esri.com/portal\", username='arcgis_python', password='amazing_arcgis_123',\n",
512+
"playground_gis = GIS(url=\"https://pythonapi.playground.esri.com/portal\", username='arcgis_python',\n",
513513
" profile='python_playground_prof')\n",
514-
"agol_gis = GIS(url=\"https://arcgis.com/\", username='arcgis_python', password=\"P@ssword123\",\n",
514+
"agol_gis = GIS(url=\"https://arcgis.com/\", username='USERNAME', password=\"PASSWORD\",\n",
515515
" profile=\"AGOL_prof\")\n",
516516
"print(\"profile defined for {}\".format(playground_gis))\n",
517517
"print(\"profile defined for {}\".format(agol_gis))"
@@ -544,10 +544,10 @@
544544
" gis.properties.portalHostname,\n",
545545
" gis.properties.user.username)) \n",
546546
"\n",
547-
"playground_gis = GIS(profile='python_playground_prof')\n",
547+
"playground_gis = GIS(profile='your_enterprise_profile')\n",
548548
"print_profile_info(playground_gis)\n",
549549
"\n",
550-
"agol_gis = GIS(profile=\"AGOL_prof\")\n",
550+
"agol_gis = GIS(profile=\"your_online_profile\")\n",
551551
"print_profile_info(agol_gis)"
552552
]
553553
},

guide/04-feature-data-and-analysis/appending-features.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"* password = P@ssword123\n",
108108
"\n",
109109
"So make a connection with the following syntax to continue running through the notebook:\n",
110-
"`gis = GIS(\"https://www.arcgis.com\", \"arcgis_python\", \"P@ssword123\")`"
110+
"`gis = GIS(\"https://www.arcgis.com\", \"USERNAME\", \"PASSWORD\")`"
111111
]
112112
},
113113
{

guide/04-feature-data-and-analysis/checking-out-data-from-feature-layers-using-replicas.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
"metadata": {},
263263
"outputs": [],
264264
"source": [
265-
"portal_gis = GIS(url='https://pythonapi.playground.esri.com/portal', username='arcgis_python', password='amazing_arcgis_123')\n",
265+
"portal_gis = GIS(profile='your_enterprise_profile')\n",
266266
"search_result = portal_gis.content.search(\"Ports in the Western US\", \"Feature Layer\")"
267267
]
268268
},

guide/05-working-with-the-spatially-enabled-dataframe/introduction-to-the-spatially-enabled-dataframe.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@
790790
"metadata": {},
791791
"outputs": [],
792792
"source": [
793-
"g2 = GIS(\"https://pythonapi.playground.esri.com/portal\", \"arcgis_python\", \"amazing_arcgis_123\")"
793+
"g2 = GIS(profile='your_enterprise_profile')"
794794
]
795795
},
796796
{

guide/05-working-with-the-spatially-enabled-dataframe/spatially-enabled-dataframe-advanced-topics.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2937,7 +2937,7 @@
29372937
"metadata": {},
29382938
"outputs": [],
29392939
"source": [
2940-
"g2 = GIS(\"https://pythonapi.playground.esri.com/portal\", \"arcgis_python\", \"amazing_arcgis_123\")"
2940+
"g2 = GIS(profile='your_enterprise_profile')"
29412941
]
29422942
},
29432943
{

0 commit comments

Comments
 (0)