<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I access my ArcGIS online content using the Python API? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874481#M4841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is what I was thinking. I'm starting to think it has to do with my credentials. My password does have special characters because it is work policy. I will try the next&amp;nbsp;suggestion see if that goes through. Thanks a lot.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 20:04:20 GMT</pubDate>
    <dc:creator>deleted-user-4LjGx0CueIPn</dc:creator>
    <dc:date>2018-09-18T20:04:20Z</dc:date>
    <item>
      <title>How can I access my ArcGIS online content using the Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874476#M4836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I been trying to access my ArcGIS online content using the API. So far I been able to access&amp;nbsp;by&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Connecting through ArcGIS Pro but I would like to use my actual credentials to access the account.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;I looked into the following method:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="background-color: #f7f7f7; border: none; font-size: 16px;"&gt;&lt;EM&gt;&lt;SPAN class="" style="color: #008000;"&gt;print&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;"ArcGIS Online Org account"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;gis&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;GIS&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;"NyCompanyURL"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121;"&gt;"MyUserName"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121;"&gt;"MyPassword"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000;"&gt;print&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;"Logged in as "&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666;"&gt;+&lt;/SPAN&gt; &lt;SPAN class="" style="color: #008000;"&gt;str&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;gis&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;properties&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;user&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;username&lt;/SPAN&gt;&lt;SPAN class=""&gt;))&lt;/SPAN&gt;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I use this method, the scripts seems to be running but nothing happens. I am assuming I am using the wrong approach for an ArcGIS enterprise account. Any help is appreciated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 20:57:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874476#M4836</guid>
      <dc:creator>deleted-user-4LjGx0CueIPn</dc:creator>
      <dc:date>2018-09-17T20:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access my ArcGIS online content using the Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874477#M4837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your few lines of code work fine for me, and I tested with 2 different accounts.&amp;nbsp; What if you try your code in an interactive Python session in a Command Prompt?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 21:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874477#M4837</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-09-17T21:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access my ArcGIS online content using the Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874478#M4838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for testing the code. IF I try the same code I get an error message about "Unable to generate token".&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874478#M4838</guid>
      <dc:creator>deleted-user-4LjGx0CueIPn</dc:creator>
      <dc:date>2018-09-18T15:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access my ArcGIS online content using the Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874479#M4839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I had to guess, your credentials are not working.&amp;nbsp; Make sure to use Python raw strings (r"username") in case your username or password has any special characters that Python might be misinterpreting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 16:01:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874479#M4839</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-09-18T16:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access my ArcGIS online content using the Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874480#M4840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you using for your company URL? For that GIS definition to work I had to do one of the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;For whatever reason, I needed ArcGIS Pro to successfully log in before running the API. Pop it open and sign in. Then reattempt.&lt;/LI&gt;&lt;LI&gt;Format the portal URL as 'org.maps.arcgis.com' , with nothing else in the&amp;nbsp;URL (i.e. /home)&lt;/LI&gt;&lt;LI&gt;Just leave that portal URL parameter blank, and it will default to the AGOL org that it is associated with&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 18:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874480#M4840</guid>
      <dc:creator>MichaelSchoelen</dc:creator>
      <dc:date>2018-09-18T18:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access my ArcGIS online content using the Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874481#M4841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is what I was thinking. I'm starting to think it has to do with my credentials. My password does have special characters because it is work policy. I will try the next&amp;nbsp;suggestion see if that goes through. Thanks a lot.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 20:04:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874481#M4841</guid>
      <dc:creator>deleted-user-4LjGx0CueIPn</dc:creator>
      <dc:date>2018-09-18T20:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access my ArcGIS online content using the Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874482#M4842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using my enterprise company home page (&lt;A href="https://CompanyName.maps.arcgis.com"&gt;https://CompanyName.maps.arcgis.com&lt;/A&gt;). I am using ArcGIS Pro to log in. That approach looks similar to your #1 approach. I will try # 3 see if that gives any results. Thank you&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 20:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-access-my-arcgis-online-content-using/m-p/874482#M4842</guid>
      <dc:creator>deleted-user-4LjGx0CueIPn</dc:creator>
      <dc:date>2018-09-18T20:09:16Z</dc:date>
    </item>
  </channel>
</rss>

