Select to view content in your preferred language

Python API AGO

919
6
01-12-2011 07:35 PM
TedCronin
MVP Alum
It would be really cool, to have some sort of API for python on AGO.  I want to script loading data, which I can do in arcpy, I can script sending tweets from twitter from python-twitter, but I cannot send messages via python from ArcGIS.com.  If I have a closed group ,and I want to notify people in the group, that the data has been updated, it really would be sweet where I can script from arcpy access to loading the data, then send messages from inside of ArcGIS.com to those people, just to notify them of an update but still in python.  If I know their twitter account sure I can DM them, but I don't want to have to try and keep track of this, I want to piggy back off ArcGIS.com.

Ideas
Tags (2)
0 Kudos
6 Replies
MikeMinami
Esri Notable Contributor
We probably wouldn't build an API for python (but some enterprising developer could!). But there is a longer term plan to expose a rest endpoint for arcgis.com...

Mike
0 Kudos
TedCronin
MVP Alum
What is the timeline on the endpoint?
0 Kudos
MikeMinami
Esri Notable Contributor
It's a ongoing discussion and no release date has been set. Sorry.

Thanks,

Mike
0 Kudos
TedCronin
MVP Alum
So, there is an open api just no endpoint?
0 Kudos
TedCronin
MVP Alum
One thing that did occur to me is that Esri has made it pretty easy to load data, but there needs to be a simple way to download data in bulk for lpk files.  It seems now I need to do this task one lpk at a time, so perhaps there could be a tool in the Package toolset that allows the ability to download multiple files to a local machine.  Perhaps a list for ListPackages in a web location, then a subsequent ability to download the lpks that are needed.  Maybe this is a GP function but it interfaces with AGO.
0 Kudos
MikeMinami
Esri Notable Contributor
Nice idea. I'll pass it along.

Mike
0 Kudos