get asana project id - asana

I am trying to find out how to get the workspace and project id's from the main web app. I cant seem to find them anywhere.
I am attempting to write a VB.Net app and am trying to get some info out of the API other than 400 Bad request. If I had these id's I might be able to get further

I put app.asana.com/api/1.0/workspaces into a browser (after I had logged into Asana) and it gave me all of my workspace ID's.

The Project ID is most easily found in the URL of your project when using the web interface: https://app.asana.com/0/{PROJECT_ID}/.... It works with API calls such as pointing your browser to https://app.asana.com/api/1.0/projects/{PROJECT_ID}/tasks?assignee=me

Related

Developing an API project

I recently created a project and the scripts were working fine.
Then the stopped loading the requests.
I looked at my dashboard to find there were several days with 10,000+ queries
which didn't make any sense.
I created a new key and restricted access to the IP only.
I changed the key on all of my scripts and it still does not display like it was.
Any suggestions about what to try next?
Thanks

How to create custom AR button

Does someone have any examples how to generate AR URL?
Reading Web SDK documentation, seems that there is no functionality to do that.
Found https://github.com/Roomle/roomle-button but not sure that`s still way to go since it has not been updated for 2 years.
If you are using the Roomle SDK you can use saveCurrentConfiguration to get the configuration id (hash) of the current configuration. Not sure what you used at the moment to obtain a configuration id but you need to call this in order to save it on the Roomle server and open it in another place.
Also make sure to set the configuratorId URL param when linking to the AR site.

Adding TFS tasks (work item) via url

Currently i'm trying something out with TFS 2015. I red that it should be possible to add tasks (work-items) via the browser url. This is perfect for me if it is working like I expected :)
My current url (personal items removed)
https://{myurl}/tfs/DefaultCollection/{project}/_workItems#_a=new&witd=Task&[Title]=Do
this&[Original Estimate]=1&[Remaining
Work]=1&[??????PARENT?????]={??id??}&[System.AreaPath]={project}&[System.IterationPath]={project+iteration}
So far so good it's possible to add an item via the url, but I couldn't figure out how to add the parent link to the work item!
I've tried [Node Name], [Parent], [System.NodeName], but none of them worked.
Does anyone have an idea how to create the link? Or is it not possible?
tnx in advance
Try to use [System.Linktypes] or [System.LinkTypes.Hierarchy-Reverse]
Moreover, suggest you to use REST API just as debugthings mentioned. Work Items|Rest API If you haven't already, look at the information on getting started with these APIs.

Asana API retrieve project owner, status and deadline

Is there a way using the Asana api to retrieve the project owner, project status, project description and project deadline?
I checked the API docs and could not find anything, so I am assuming the answer is no (but confirmation is much appreciated).
https://asana.com/developers/api-reference/projects#sections
If there is not a way of doing this via the API, does anyone have any hacks on how to do this using something like Selenium or another tool?
Much appreciated.
Project overview attributes are accessible attributes on project objects in the API.
current_status is the latest status update for the project including the color and text associated.
owner the current project owner.
due_date the current project due date.

Flickr background download session failed: You do not have permission to access the requested resource

I have a school assignment where I need to use this project: http://web.stanford.edu/class/cs193p/cgi-bin/drupal/system/files/sample_code/Photomania_2.zip
When I first downloaded it, it worked fine. I was working on it one day, when I got this message: "Flickr background download session failed: You do not have permission to access the requested resource."
I didn't know how to fix it, so I went back and downloaded it again to see if I did something to the code that caused that I got that error. When I downloaded a fresh copy of the photomania application, I would yet again get that error.
Does anyone know how to fix this?
Did it stop working on June 27th? The Flickr API went SSL-only on that day. That project probably needs its API endpoints updating to use SSL. I'd ask your tutor about that. Or just try updating all the API endpoints you can find to use the appropriate https: equivalents, as described in that blog post.
I just encountered the same problem. Matt hit the nail on the head. Make sure you add in your API key and do a find/replace to make all "http:" references "https:".

Resources