<?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: Creating a Feature Layer from an API in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097286#M42114</link>
    <description>&lt;P&gt;Thanks, Josh. I have some comfort with python, although I've never used pandas. I am going to work with this today and let you know if i have any other questions and how it all turns out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;P&gt;Linda&lt;/P&gt;</description>
    <pubDate>Fri, 10 Sep 2021 17:22:41 GMT</pubDate>
    <dc:creator>LindaSlattery</dc:creator>
    <dc:date>2021-09-10T17:22:41Z</dc:date>
    <item>
      <title>Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097259#M42109</link>
      <description>&lt;P&gt;I have an API and I am trying to use the data in ArcGIS Online. Does anyone know of a python script that I can use to convert the response into a feature layer? Or some other way to do it?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 16:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097259#M42109</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-10T16:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097275#M42111</link>
      <description>&lt;P&gt;Would you mind sharing some of your code? And when you say "feature layer", do you mean a layer in ArcGIS Online, or a file-based copy of the data?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 16:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097275#M42111</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-09-10T16:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097277#M42112</link>
      <description>&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;Here's the URL I use (my API key is all zeroes for security):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://eagle-i.doe.gov/api/outagesummary/countymax24hoursummary?state=OH&amp;amp;county=Adams&amp;amp;eiApiKey=00000000-0000-0000-0000-000000000000" target="_blank"&gt;https://eagle-i.doe.gov/api/outagesummary/countymax24hoursummary?state=OH&amp;amp;county=Adams&amp;amp;eiApiKey=00000000-0000-0000-0000-000000000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And here is the response from the API call:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{"metadata":{"source":"DOE/CESER/ISER EAGLE-I™ Project","timestamp":"2021.09.10.16.52.01","url":"https://eagle-i.doe.gov","termsOfUse":"Terms of Use | The EAGLE-I™ real-time or historical electric outage data will not be repackaged, published, or distributed outside of the federal or state government emergency response community. | Allowed publishing or distribution is allowed for data summaries or derived data as long as the attribution noted above is preserved. | Similar data publishing and distribution limitations are required for non-DOE users of EAGLE-I data."},"data":[{"currentOutage":0,"currentOutageRunStartTime":"2021-09-10T16:30:00Z","maxOutage1":0,"maxOutage1RunStartTime":"2021-09-10T16:30:00Z","maxOutage24":1,"maxOutage24RunStartTime":"2021-09-10T15:30:00Z","totalCustomers":16247,"currentOutageHasOverrideData":false,"maxOutage24HasOverrideData":false,"maxOutage1HasOverrideData":false,"countyName":"Adams","stateId":19,"stateName":"OH","countyFIPSCode":"39001"}],"resolution":"MINUTES"}&lt;/PRE&gt;&lt;P&gt;I don't have any other code because I am not sure where to start. And yes, I am talking about&amp;nbsp; creating a feature layer to use in ArcGIS Online. Although now that I say this, I would need it to produce a table that I can join to a feature layer, since the result does not have geometry.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 16:58:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097277#M42112</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-10T16:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097283#M42113</link>
      <description>&lt;P&gt;I see. Well, if you're comfortable using some Python, you can probably do this with &lt;A href="https://pandas.pydata.org/" target="_blank" rel="noopener"&gt;Pandas&lt;/A&gt; and the &lt;A href="https://developers.arcgis.com/python/api-reference/" target="_blank" rel="noopener"&gt;ArcGIS Python API&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;In particular, Pandas has a &lt;A href="https://pandas.pydata.org/docs/user_guide/io.html?highlight=from%20json" target="_blank" rel="noopener"&gt;number of ways&lt;/A&gt; to get data in from other formats. Once you bring the JSON into a dataframe, you can do any other reshaping of the data there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import pandas as pd

j = {
    "metadata":{
        "source":"DOE/CESER/ISER EAGLE-I™ Project",
        "timestamp":"2021.09.10.16.52.01",
        "url":"https://eagle-i.doe.gov",
        "termsOfUse":"Terms of Use | The EAGLE-I™ real-time or historical electric outage data will not be repackaged, published, or distributed outside of the federal or state government emergency response community. | Allowed publishing or distribution is allowed for data summaries or derived data as long as the attribution noted above is preserved. | Similar data publishing and distribution limitations are required for non-DOE users of EAGLE-I data."
    },
    "data":[
        {"currentOutage":0,"currentOutageRunStartTime":"2021-09-10T16:30:00Z","maxOutage1":0,"maxOutage1RunStartTime":"2021-09-10T16:30:00Z","maxOutage24":1,"maxOutage24RunStartTime":"2021-09-10T15:30:00Z","totalCustomers":16247,"currentOutageHasOverrideData":False,"maxOutage24HasOverrideData":False,"maxOutage1HasOverrideData":False,"countyName":"Adams","stateId":19,"stateName":"OH","countyFIPSCode":"39001"}
    ],
    "resolution":"MINUTES"
}

df = pd.DataFrame(data=j['data'])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here's the dataframe:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1631293924518.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22768iEA7C9083FDD94100/image-size/large?v=v2&amp;amp;px=999" role="button" title="jcarlson_0-1631293924518.png" alt="jcarlson_0-1631293924518.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not sure how many calls you'll be making to the API and how consistently the output is formatted, but if you read through the Pandas docs, there are ways to easily append multiple frames into one. Or else, you can extract the "data" object from each call and merge those into a single list before creating the dataframe.&lt;/P&gt;&lt;P&gt;Then perform whatever reshaping you need to, if any.&lt;/P&gt;&lt;P&gt;After that, you can use the &lt;STRONG&gt;spatial&lt;/STRONG&gt; submodule of the dataframe that comes from the ArcGIS API, to &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#arcgis.features.GeoAccessor.to_featurelayer" target="_blank" rel="noopener"&gt;publish directly to a feature layer&lt;/A&gt;.&lt;/P&gt;&lt;PRE&gt;reshaped_df.spatial.to_featurelayer('my-layer-name')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;EDIT: I should add, if you bring in the &lt;STRONG&gt;requests&lt;/STRONG&gt; library, you can make your API calls right in the same script as the rest of this process.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 17:22:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097283#M42113</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-09-10T17:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097286#M42114</link>
      <description>&lt;P&gt;Thanks, Josh. I have some comfort with python, although I've never used pandas. I am going to work with this today and let you know if i have any other questions and how it all turns out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;P&gt;Linda&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 17:22:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097286#M42114</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-10T17:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097292#M42115</link>
      <description>&lt;P&gt;Good luck, and you're welcome! I have a couple of scripts that do something similar, so if you need a specific example, I'm sure I can dig one up.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 17:40:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097292#M42115</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-09-10T17:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097296#M42116</link>
      <description>&lt;P&gt;That would be awesome if you could find an example. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 17:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097296#M42116</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-10T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097307#M42118</link>
      <description>&lt;P&gt;So, here's a section of a script that pulled data from the US Census API, simplified and commented to make it relevant to what you're doing.&lt;/P&gt;&lt;P&gt;The API you're working with is largely going to determine what the details look like, but throwing together a request will look about the same.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Import modules
from arcgis import GIS
import pandas as pd
import requests
import json

# Census variables to grab
cvar = {
    'GEO_ID':'GEOID',
    'B01001_001E':'total',
    'NAME':'name'
}

# Request parameters
payload = {
    'get' : ','.join(list(cvar.keys())),
    'for' : 'block group:*',
    'in' : ['state:17', 'county:093'],
    'APIkey' : 'my_api_key'
}

# Submit request to API
response = requests.get(f'https://api.census.gov/data/2019/acs/acs5', params=payload)

# Read response as JSON into dataframe
# First row is column names, skipped for data import
df = pd.DataFrame(response.json()[1:])

# Apply column names from first row
cols = response.json()[0]
column_dict = {}
for c in cols:
    column_dict.update({cols.index(c):c})

df.rename(columns=column_dict, inplace=True)

# Other reshaping happens here, drop a few columns, etc

# Explicitly state data types
df_dtypes = {
    'GEOID':'string',
    'name':'string',
    'total':'int32'
}

# Apply data types
df = df[list[df_dtypes.keys())].astype[df_dtypes]

# Export to layer
df.spatial.to_featureclass('block_groups_19_kendall')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:02:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097307#M42118</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-09-10T18:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097312#M42121</link>
      <description>&lt;P&gt;Oh and by the way! If the end goal is to join these with other geometry, the Census's ArcGIS server is a great place to start! You can perform the join right there in your Python, too.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# TIGER county layer
geom_url = 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/State_County/MapServer/1'

# Filter Illinois (17) and Kendall County (093) from larger dataset
kendall_filter = 'STATE = 17 and COUNTY = 093'

# Define fields you want to keep
cnty_fields = ['BASENAME', 'GEOID']

# Query service for county geometry
geom_df = arcgis.features.FeatureLayer(geom_url).query(where=kendall_filter, out_field=cnty_fields, as_df=True)&lt;/LI-CODE&gt;&lt;P&gt;In my preceding example of Block Groups, I could query the Census's GIS layer, then join the shape field into my original dataframe using the GEOID column.&lt;/P&gt;&lt;P&gt;If there's a reliable way to get your output dataframe to have a column that matches a Census field, or perhaps something from the Living Atlas, you may be able to do your join all in one go.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:14:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097312#M42121</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-09-10T18:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097338#M42122</link>
      <description>&lt;P&gt;I'm getting hung up on the following line: I've tried replacing the 1: with the variable name and even taking it out altogether, but then I get different errors. Any idea how to get past that?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaSlattery_0-1631300446659.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22779i261D11E2C3501960/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaSlattery_0-1631300446659.png" alt="LindaSlattery_0-1631300446659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:02:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097338#M42122</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-10T19:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097374#M42124</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/74144"&gt;@LindaSlattery&lt;/a&gt;&amp;nbsp;here is an example how to update a hosted table in AGOL using Python and the ArcGIS for Python API with the data example you provided.&amp;nbsp; The hosted table's field names match the same as the Data object in you sample.&amp;nbsp; You should just have to update the parameters:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import requests, json
from arcgis import GIS

# Variables
username = "jskinner_CountySandbox"                 # AGOL Username
password = "********"                               # AGOL Password
itemID = 'f214df9b8f5440149a20ccd5d452a95e'         # AGOL Table Item ID
dataURL = 'https://eagle-i.doe.gov/api/outagesummary/countymax24hoursummary?state=OH&amp;amp;county=Adams&amp;amp;eiApiKey=0000...'

# Disable warnings
requests.packages.urllib3.disable_warnings()

# Connect to AGOL
gis = GIS('https://www.arcgis.com', username, password)

# Get Table
fLayer = gis.content.get(itemID)
editTable = fLayer.tables[0]

# Get Data
params = {'f': 'pjson'}
r = requests.post(dataURL, data = params, verify=False)
response = json.loads(r.content)
data = response['data']
print(data)

# Create Dictionary of attributes
addFeatures =  {
        "attributes" : {
            "currentOutage" : data[0]['currentOutage'],
            "currentOutageRunStartTime" : data[0]['currentOutageRunStartTime'],
            "maxOutage1" : data[0]['maxOutage1'],
            "maxOutage1RunStartTime": data[0]['maxOutage1RunStartTime'],
            "maxOutage24": data[0]['maxOutage24'],
            "maxOutage24RunStartTime": data[0]['maxOutage24RunStartTime'],
            "totalCustomers": data[0]['totalCustomers'],
            "currentOutageHasOverrideData":data[0]['currentOutageHasOverrideData'],
            "maxOutage24HasOverrideData": data[0]['maxOutage24HasOverrideData'],
            "maxOutage1HasOverrideData": data[0]['maxOutage1HasOverrideData'],
            "countyName": data[0]['countyName'],
            "stateId": data[0]['stateId'],
            "stateName": data[0]['stateName'],
            "countyFIPSCode": data[0]['countyFIPSCode']
        }
    }

# Update Table
editTable.edit_features(adds=[addFeatures])

print("Finished")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 21:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097374#M42124</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-09-10T21:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097401#M42125</link>
      <description>&lt;P&gt;So, like I'd mentioned, this is going to vary quite a bit based on the response you're getting from your API request. Mine in particular required this because the Census API returns the column names in the first row.&lt;/P&gt;&lt;P&gt;I see you're working in a notebook, which is good. I would first just check out what &lt;STRONG&gt;resonse.json()&lt;/STRONG&gt;, or maybe &lt;STRONG&gt;response.text&lt;/STRONG&gt; looks like.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Sep 2021 01:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097401#M42125</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-09-11T01:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097642#M42139</link>
      <description>&lt;P&gt;Thanks, Jake! and i hate to sound like an idiot, but when you say I will have to update the parameters, is that in the "params = " row? How would that be different from the addFeatures section?&lt;/P&gt;&lt;P&gt;Thanks so much for your help, this is very confusing to me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 15:03:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097642#M42139</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-13T15:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097647#M42140</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/74144"&gt;@LindaSlattery&lt;/a&gt;&amp;nbsp;you will just need to update the section at the top of the script under&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt; # Variables&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JakeSkinner_0-1631545982975.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22848iCCFFA99258227423/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JakeSkinner_0-1631545982975.png" alt="JakeSkinner_0-1631545982975.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username&amp;nbsp;&lt;/STRONG&gt;= ArcGIS Online Username&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;password&amp;nbsp;&lt;/STRONG&gt;= ArcGIS Online Password&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;itemID&lt;/STRONG&gt; = item ID of the ArcGIS Online hosted table.&amp;nbsp; This can be found in the URL when you view the item details&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JakeSkinner_1-1631546088368.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22849iB9D0FCE1EF5E736B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JakeSkinner_1-1631546088368.png" alt="JakeSkinner_1-1631546088368.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dataURL&amp;nbsp;&lt;/STRONG&gt;= the URL to retrieve data from the API you're querying&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that, you should be able to execute the script.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 15:15:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097647#M42140</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-09-13T15:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097649#M42141</link>
      <description>&lt;P&gt;OK, I did all of that and got the following errors. That's why I thought I needed to add something else in teh params row.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class=""&gt;JSONDecodeError&lt;/SPAN&gt;                           Traceback (most recent call last)
&lt;SPAN class=""&gt;&amp;lt;ipython-input-1-8a00425e9f5e&amp;gt;&lt;/SPAN&gt; in &lt;SPAN class=""&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;     21&lt;/SPAN&gt; params &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;SPAN class=""&gt;'f'&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;'pjson'&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;
&lt;SPAN class=""&gt;     22&lt;/SPAN&gt; r &lt;SPAN class=""&gt;=&lt;/SPAN&gt; requests&lt;SPAN class=""&gt;.&lt;/SPAN&gt;post&lt;SPAN class=""&gt;(&lt;/SPAN&gt;dataURL&lt;SPAN class=""&gt;,&lt;/SPAN&gt; data &lt;SPAN class=""&gt;=&lt;/SPAN&gt; params&lt;SPAN class=""&gt;,&lt;/SPAN&gt; verify&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;---&amp;gt; 23&lt;/SPAN&gt; response &lt;SPAN class=""&gt;=&lt;/SPAN&gt; json&lt;SPAN class=""&gt;.&lt;/SPAN&gt;loads&lt;SPAN class=""&gt;(&lt;/SPAN&gt;r&lt;SPAN class=""&gt;.&lt;/SPAN&gt;content&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;     24&lt;/SPAN&gt; data &lt;SPAN class=""&gt;=&lt;/SPAN&gt; response&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;'data'&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;     25&lt;/SPAN&gt; print&lt;SPAN class=""&gt;(&lt;/SPAN&gt;data&lt;SPAN class=""&gt;)&lt;/SPAN&gt;

&lt;SPAN class=""&gt;/opt/conda/lib/python3.7/json/__init__.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;loads&lt;/SPAN&gt;&lt;SPAN class=""&gt;(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    346&lt;/SPAN&gt;             parse_int &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;None&lt;/SPAN&gt; &lt;SPAN class=""&gt;and&lt;/SPAN&gt; parse_float &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;None&lt;/SPAN&gt; &lt;SPAN class=""&gt;and&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    347&lt;/SPAN&gt;             parse_constant is None and object_pairs_hook is None and not kw):
&lt;SPAN class=""&gt;--&amp;gt; 348&lt;/SPAN&gt;         &lt;SPAN class=""&gt;return&lt;/SPAN&gt; _default_decoder&lt;SPAN class=""&gt;.&lt;/SPAN&gt;decode&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    349&lt;/SPAN&gt;     &lt;SPAN class=""&gt;if&lt;/SPAN&gt; cls &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    350&lt;/SPAN&gt;         cls &lt;SPAN class=""&gt;=&lt;/SPAN&gt; JSONDecoder

&lt;SPAN class=""&gt;/opt/conda/lib/python3.7/json/decoder.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;decode&lt;/SPAN&gt;&lt;SPAN class=""&gt;(self, s, _w)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    335&lt;/SPAN&gt; 
&lt;SPAN class=""&gt;    336&lt;/SPAN&gt;         """
&lt;SPAN class=""&gt;--&amp;gt; 337&lt;/SPAN&gt;         obj&lt;SPAN class=""&gt;,&lt;/SPAN&gt; end &lt;SPAN class=""&gt;=&lt;/SPAN&gt; self&lt;SPAN class=""&gt;.&lt;/SPAN&gt;raw_decode&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; idx&lt;SPAN class=""&gt;=&lt;/SPAN&gt;_w&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;end&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    338&lt;/SPAN&gt;         end &lt;SPAN class=""&gt;=&lt;/SPAN&gt; _w&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; end&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;end&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    339&lt;/SPAN&gt;         &lt;SPAN class=""&gt;if&lt;/SPAN&gt; end &lt;SPAN class=""&gt;!=&lt;/SPAN&gt; len&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;

&lt;SPAN class=""&gt;/opt/conda/lib/python3.7/json/decoder.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;raw_decode&lt;/SPAN&gt;&lt;SPAN class=""&gt;(self, s, idx)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    353&lt;/SPAN&gt;             obj&lt;SPAN class=""&gt;,&lt;/SPAN&gt; end &lt;SPAN class=""&gt;=&lt;/SPAN&gt; self&lt;SPAN class=""&gt;.&lt;/SPAN&gt;scan_once&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; idx&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    354&lt;/SPAN&gt;         &lt;SPAN class=""&gt;except&lt;/SPAN&gt; StopIteration &lt;SPAN class=""&gt;as&lt;/SPAN&gt; err&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
&lt;SPAN class=""&gt;--&amp;gt; 355&lt;/SPAN&gt;             &lt;SPAN class=""&gt;raise&lt;/SPAN&gt; JSONDecodeError&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Expecting value"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; err&lt;SPAN class=""&gt;.&lt;/SPAN&gt;value&lt;SPAN class=""&gt;)&lt;/SPAN&gt; &lt;SPAN class=""&gt;from&lt;/SPAN&gt; &lt;SPAN class=""&gt;None&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    356&lt;/SPAN&gt;         &lt;SPAN class=""&gt;return&lt;/SPAN&gt; obj&lt;SPAN class=""&gt;,&lt;/SPAN&gt; end

&lt;SPAN class=""&gt;JSONDecodeError&lt;/SPAN&gt;: Expecting value: line 1 column 1 (char 0)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 15:21:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097649#M42141</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-13T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097667#M42142</link>
      <description>&lt;P&gt;OK, I did all of that and got the following errors.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class=""&gt;JSONDecodeError&lt;/SPAN&gt;                           Traceback (most recent call last)
&lt;SPAN class=""&gt;&amp;lt;ipython-input-1-8a00425e9f5e&amp;gt;&lt;/SPAN&gt; in &lt;SPAN class=""&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;     21&lt;/SPAN&gt; params &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;SPAN class=""&gt;'f'&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;'pjson'&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;
&lt;SPAN class=""&gt;     22&lt;/SPAN&gt; r &lt;SPAN class=""&gt;=&lt;/SPAN&gt; requests&lt;SPAN class=""&gt;.&lt;/SPAN&gt;post&lt;SPAN class=""&gt;(&lt;/SPAN&gt;dataURL&lt;SPAN class=""&gt;,&lt;/SPAN&gt; data &lt;SPAN class=""&gt;=&lt;/SPAN&gt; params&lt;SPAN class=""&gt;,&lt;/SPAN&gt; verify&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;---&amp;gt; 23&lt;/SPAN&gt; response &lt;SPAN class=""&gt;=&lt;/SPAN&gt; json&lt;SPAN class=""&gt;.&lt;/SPAN&gt;loads&lt;SPAN class=""&gt;(&lt;/SPAN&gt;r&lt;SPAN class=""&gt;.&lt;/SPAN&gt;content&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;     24&lt;/SPAN&gt; data &lt;SPAN class=""&gt;=&lt;/SPAN&gt; response&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;'data'&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;     25&lt;/SPAN&gt; print&lt;SPAN class=""&gt;(&lt;/SPAN&gt;data&lt;SPAN class=""&gt;)&lt;/SPAN&gt;

&lt;SPAN class=""&gt;/opt/conda/lib/python3.7/json/__init__.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;loads&lt;/SPAN&gt;&lt;SPAN class=""&gt;(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    346&lt;/SPAN&gt;             parse_int &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;None&lt;/SPAN&gt; &lt;SPAN class=""&gt;and&lt;/SPAN&gt; parse_float &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;None&lt;/SPAN&gt; &lt;SPAN class=""&gt;and&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    347&lt;/SPAN&gt;             parse_constant is None and object_pairs_hook is None and not kw):
&lt;SPAN class=""&gt;--&amp;gt; 348&lt;/SPAN&gt;         &lt;SPAN class=""&gt;return&lt;/SPAN&gt; _default_decoder&lt;SPAN class=""&gt;.&lt;/SPAN&gt;decode&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    349&lt;/SPAN&gt;     &lt;SPAN class=""&gt;if&lt;/SPAN&gt; cls &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    350&lt;/SPAN&gt;         cls &lt;SPAN class=""&gt;=&lt;/SPAN&gt; JSONDecoder

&lt;SPAN class=""&gt;/opt/conda/lib/python3.7/json/decoder.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;decode&lt;/SPAN&gt;&lt;SPAN class=""&gt;(self, s, _w)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    335&lt;/SPAN&gt; 
&lt;SPAN class=""&gt;    336&lt;/SPAN&gt;         """
&lt;SPAN class=""&gt;--&amp;gt; 337&lt;/SPAN&gt;         obj&lt;SPAN class=""&gt;,&lt;/SPAN&gt; end &lt;SPAN class=""&gt;=&lt;/SPAN&gt; self&lt;SPAN class=""&gt;.&lt;/SPAN&gt;raw_decode&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; idx&lt;SPAN class=""&gt;=&lt;/SPAN&gt;_w&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;end&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    338&lt;/SPAN&gt;         end &lt;SPAN class=""&gt;=&lt;/SPAN&gt; _w&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; end&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;end&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    339&lt;/SPAN&gt;         &lt;SPAN class=""&gt;if&lt;/SPAN&gt; end &lt;SPAN class=""&gt;!=&lt;/SPAN&gt; len&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;

&lt;SPAN class=""&gt;/opt/conda/lib/python3.7/json/decoder.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;raw_decode&lt;/SPAN&gt;&lt;SPAN class=""&gt;(self, s, idx)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    353&lt;/SPAN&gt;             obj&lt;SPAN class=""&gt;,&lt;/SPAN&gt; end &lt;SPAN class=""&gt;=&lt;/SPAN&gt; self&lt;SPAN class=""&gt;.&lt;/SPAN&gt;scan_once&lt;SPAN class=""&gt;(&lt;/SPAN&gt;s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; idx&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    354&lt;/SPAN&gt;         &lt;SPAN class=""&gt;except&lt;/SPAN&gt; StopIteration &lt;SPAN class=""&gt;as&lt;/SPAN&gt; err&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
&lt;SPAN class=""&gt;--&amp;gt; 355&lt;/SPAN&gt;             &lt;SPAN class=""&gt;raise&lt;/SPAN&gt; JSONDecodeError&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Expecting value"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; s&lt;SPAN class=""&gt;,&lt;/SPAN&gt; err&lt;SPAN class=""&gt;.&lt;/SPAN&gt;value&lt;SPAN class=""&gt;)&lt;/SPAN&gt; &lt;SPAN class=""&gt;from&lt;/SPAN&gt; &lt;SPAN class=""&gt;None&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    356&lt;/SPAN&gt;         &lt;SPAN class=""&gt;return&lt;/SPAN&gt; obj&lt;SPAN class=""&gt;,&lt;/SPAN&gt; end

&lt;SPAN class=""&gt;JSONDecodeError&lt;/SPAN&gt;: Expecting value: line 1 column 1 (char 0)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 15:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097667#M42142</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-13T15:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097712#M42145</link>
      <description>&lt;P&gt;OK, so I did that and got the following error. Sorry for the screen shot, but whenever I copied and pasted I got an error in here. Just my lucky day with errors &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LindaSlattery_0-1631553978013.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22870i002AD57C9A5A7AB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LindaSlattery_0-1631553978013.png" alt="LindaSlattery_0-1631553978013.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 17:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097712#M42145</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-13T17:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097718#M42146</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/74144"&gt;@LindaSlattery&lt;/a&gt;&amp;nbsp;did you update the&amp;nbsp;&lt;STRONG&gt;dataURL&amp;nbsp;&lt;/STRONG&gt;variable with the correct URL including the token?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 17:36:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097718#M42146</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-09-13T17:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097736#M42147</link>
      <description>&lt;P&gt;Yes, with the API key. I can put the URL into a browser window and the data gets returned, so the URL is correct.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 18:01:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097736#M42147</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-13T18:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Feature Layer from an API</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097739#M42148</link>
      <description>&lt;P&gt;Outside of my username, password and URL, the only other thing that gets changed is the item ID. I created a blank table in Pro, added one row, and shared up to my AGOL. I made sure it was editable, and even made it public, just in case that was an issue. Could there be something up with the table? Here is the URL, if you want to look at it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://services6.arcgis.com/zxOMWqh0yAD6mMsJ/arcgis/rest/services/power_outages_county/FeatureServer" target="_blank"&gt;https://services6.arcgis.com/zxOMWqh0yAD6mMsJ/arcgis/rest/services/power_outages_county/FeatureServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 18:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-a-feature-layer-from-an-api/m-p/1097739#M42148</guid>
      <dc:creator>LindaSlattery</dc:creator>
      <dc:date>2021-09-13T18:09:16Z</dc:date>
    </item>
  </channel>
</rss>

